PostgREST 返回 JSON 对象的非空值

ren*_*e21 1 javascript postgresql node.js postgrest

我有一个包含三列的 postgrSQL 表,其中一列是 json 字段:

  id [num]  ||  school [char]   ||  info [json]
============================================================================
   1        ||   1st            || [{"fistname": "Bill", "Lastname": "Maison"}]
   2        ||   2nd            || [{"fistname": "John", "Lastname": "Handson"}]
   3        ||   3rd            || []
 
Run Code Online (Sandbox Code Playgroud)

我想用 postgREST 过滤空信息字段。

我现在的网址: https://127.0.0.1/table?&info->0->firstname=is.null

这实际上返回所有空值,但我该如何以其他方式做到这一点呢?排除所有空值?

ren*_*e21 9

找到了。对于将来会查找此内容的任何人:https://127.0.0.1/table?&info->0->firstname=not.is.null