Criterion is a partial condition that can specify comparison operator for a field.
eq is an equality operator against a field
The value to query against. Must be a valid JSON data type.
ge is a greater or equal operator against a field
gt is a greater operator against a field
le is a less or equal operator against a field
lt is a less operation against a field
ne is a not equal operator against a field
toJSON converts the Criterion to JSONCriterion, dropping circular references to internal Queries.
Criterion is a partial condition that can specify comparison operator for a field.