Closed lequanghiep74 closed 4 years ago
Is the value really null
or "not set"?
use this:
a.first( {'units': RegExp(r'.*'), Op.not: {'units': null} });
means: where 'units' exist and is not null.
a.first( {Op.not: {'units': null} });
means: where 'units' exist and is not null OR 'units' is not defined.
I find first element with property not null but it not working. Please help me to query it.
a.first( { Op.not: {'units': null} });