我有一个包含三列的 postgrSQL 表,其中一列是 json 字段:
id [num] || school [char] || info [json]
============================================================================
1 || 1st || [{"fistname": "Bill", "Lastname": "Maison"}]
2 || 2nd || [{"fistname": "John", "Lastname": "Handson"}]
3 || 3rd || []
我想用 postgREST 过滤空的信息字段。
我现在的网址: https://127.0.0.1/table?&info->0->firstname=is.null
这实际上返回了所有为空的值,但是我该如何做呢?排除所有空值?