$gt
Filter records where a column’s value is greater than the specified value. The $gt method is used to retrieve entries with values that exceed a given threshold, making it useful for range-based queries.
await Member.$search({
$where: {
age: {
$gt: 16
}
}
});
Last updated