PostgreSQL-json字段模糊匹配查询

2018-08-07  本文已影响0人  JAVA_ASS
select count(1) from table where json_col ->> 'tasks' like '%15299684437%';
select count(1) from table where json_col -> 'tasks' = '%15299684437%';
上一篇 下一篇

猜你喜欢

热点阅读