On Wed, 2018-03-07 at 14:50 +0700, Takim wrote:
> Is it possible to query via nbi that include mongodb function, such
> as this query :
> {"_lastInform":{$gt: new Date(ISODate().getTime() -  60 * 18)}}

The $gt operator can be used, but expressions and Date objects can not.
Instead, pass the date as an ISO string.

-- 
Zaid Abdulla <[email protected]>
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to