$lt

Filter records where a column’s value is less than the specified value. The $lt method is used to retrieve entries with values that are below a given threshold, making it useful for range-based queries.

await Member.$search({
    $where: {
        age: {
            $lt: 16
        }
    }
});

Last updated