ent
ent copied to clipboard
[HELP] A Field which type is JSON, how to use JSON_ARRAY_APPEND() when executing Update()
- This is the field :
field.JSON("info", &Info{}).Optional()
- Target sql: Update
tmp_info
SETinfo
= JSON_ARRAY_APPEND(info
, '$', '1'); - DB: mysql.
Thanks.