Loopback neq:null

Bun*_*ker 11 javascript postgresql strongloop loopbackjs

我正在尝试通过loopback api explorer对postgres数据库进行查询:

{"where": {"archived_at":{ "neq": null }}}
Run Code Online (Sandbox Code Playgroud)

但是,我只获得archived_at为null的结果?

Pet*_*ard 13

以下查询对我有用......

{ "include": [ "currency" ], "where": { "currencyCode": { "neq":  null } } }
Run Code Online (Sandbox Code Playgroud)

我正在请求具有currencyCode的表...

(很抱歉我的回复质量很差,我只是想分享一下,即使我对OG的问题没有直接回答,而且我没有足够的道具来评论)