MySQL/JSON:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
创建页面,内容为“== 标题文字 == 判断 json 内部是否存在某值。 <syntaxhighlight lang="mysql"> select * from ( select thf.team_id, thf.user_id, thf.create_at fro…”
 
Kangkk​(留言 | 贡献)
小 Kangkk移动页面Mysql/json至MySQL/JSON,不留重定向
 
(没有差异)

2026年1月19日 (一) 12:27的最新版本

标题文字

判断 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