select count(1) from table where json_col ->> 'tasks' like '%15299684437%';
select count(1) from table where json_col -> 'tasks' = '%15299684437%';
select count(1) from table where json_col ->> 'tasks' like '%15299684437%';
select count(1) from table where json_col -> 'tasks' = '%15299684437%';
本文标题:PostgreSQL-json字段模糊匹配查询
本文链接:https://www.haomeiwen.com/subject/tzpovftx.html
网友评论