Entity API: How to query 'q/where' for empty collection field?

Something like this should work:

'q/where': ['=', ['q/count', [Collection_Field, "fibery/id"]], "$param"]

where

params: {"$param": 0}
1 Like