select bundle_config from app_resource where valid=1 and  app_name='appkey01' limit 1;

-- select * from log2 where JSON_CONTAINS(data,JSON_OBJECT('id', "142"))

select * from app_patch where valid=1 and
JSON_CONTAINS(batch_content,JSON_OBJECT('dimType',2))
and JSON_CONTAINS(batch_content,JSON_OBJECT('dimId',111));



select * from app_patch where valid=1
and JSON_CONTAINS(test,JSON_ARRAY(111,333));

select * from app_patch where valid=1 and
JSON_CONTAINS(test,JSON_OBJECT('dimType',2))
and JSON_CONTAINS(test,JSON_OBJECT('dimId',111))

 mysql json  数组查询

 

相关文章:

  • 2021-06-24
  • 2022-01-08
  • 2022-12-23
  • 2022-02-09
  • 2020-10-30
  • 2022-12-23
  • 2021-04-26
猜你喜欢
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-18
  • 2022-12-23
相关资源
相似解决方案