I'm trying a query on a postgres database through the loopback api explorer:
{"where": {"archived_at":{ "neq": null }}}
However, I only get results where archived_at is null?
The following query worked for me...
{ "include": [ "currency" ], "where": { "currencyCode": { "neq": null } } }
I was requesting tables that had a currencyCode...
(Sorry for the poor quality of my response, I just wanted to share, even I didn't have a straight answer to the OG's question, and I don't have enough props to comment)