【发布时间】:2021-01-21 19:34:25
【问题描述】:
【问题讨论】:
标签: mysql sql arrays json where-clause
【问题讨论】:
标签: mysql sql arrays json where-clause
使用json_contains():
select t.*
from mytable t
where json_contains(images, '"foo"')
【讨论】:
Invalid JSON text in argument 2 to function json_contains: "Invalid value." at position 1.