isNotEmptySync method
Returns true if there are objects that match this query.
This operation is faster than using count() > 0.
Implementation
bool isNotEmptySync() => aggregateSync<int>(AggregationOp.isEmpty) == 0;
Returns true if there are objects that match this query.
This operation is faster than using count() > 0.
bool isNotEmptySync() => aggregateSync<int>(AggregationOp.isEmpty) == 0;