MySQL/JSON
来自康健生活
< MySQL
标题文字
判断 json 内部是否存在某值。
select *
from (
select thf.team_id, thf.user_id, thf.create_at from md_team_history thf
where thf.message -> '$.user' IS NOT NULL
) tmp
No categories
判断 json 内部是否存在某值。
select *
from (
select thf.team_id, thf.user_id, thf.create_at from md_team_history thf
where thf.message -> '$.user' IS NOT NULL
) tmp
No categories