mongodb function in the nbi query

Zaid Abdulla zaid at
Thu Mar 8 20:37:28 EST 2018

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 <zaid at>

More information about the Users mailing list