Replies: 1 comment
-
in case someone wonders the same
than select and iserts work great |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hi, i do not understand how to work with JSON columns. I have this struct
in my database those are my fields 1 to 1, id is int, roles is jsonb , rest are varchar
Here is my Create statement
i would like to insert this
Obviously, i am doing something wrong if you could help me and tell me what I am doing wrong. I would like to store my data as such in the table
["ROLE_USER","ROLE_ADMIN"]
or just["ROLE_USER"]
Beta Was this translation helpful? Give feedback.
All reactions