Join Discord
Communities
Powered by
does anyone know how you would push json into an a...
# javascript
m
Mike92988
01/14/2022, 2:44 PM
does anyone know how you would push json into an array in a column while keeping the old json that's already in there? having some trouble with this
m
moein
01/14/2022, 2:53 PM
@User
Is your column of type array?
m
Mike92988
01/14/2022, 2:53 PM
yes it is
m
moein
01/14/2022, 2:54 PM
Then you can do mycol = array_append(mycol, "{yourjson}")
m
Mike92988
01/14/2022, 2:58 PM
oh okay I get what you're saying, I was thinking about it the wrong way thank you!
Previous
Next