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