我试图在postgres数据库中插入一个JSON值数组。据我所知,这是将JSON元素数组插入postgres表的正确方法。(当我解决JSON问题时,我将使这些整数代替字符串),req_characters是JSONB数组,description是文本。[], requirements JSONB[], character
我需要通过postgres对嵌套在jsonb结构中更深层次的字段执行通配符搜索。我知道如何查询精确匹配,但我也需要进行部分匹配。下面是json模式。]}
from employee
where json_data @> '"data":[{"b":[{"val":"India"}]}]'; 我需要在所有数组中</em