How can we update Array
Column type ?
#589
Answered
by
dantownsend
sumitsharansatsangi
asked this question in
Q&A
-
I tried to update the Code : await User.update({
User.phone: User.phone.append(new_phone)
}, ) Error Received :
Tried following also but doesn't work Code : await User.update({
User.phone: User.phone + [new_phone]
}, ) Error Received :
|
Beta Was this translation helpful? Give feedback.
Answered by
dantownsend
Aug 18, 2022
Replies: 1 comment 1 reply
-
Yeah, this isn't supported currently, but I've been able to add it. Will do a PR. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sumitsharansatsangi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, this isn't supported currently, but I've been able to add it. Will do a PR.