$eq
Filter records where a column’s value is equal to the specified value. The $eq method is used to match entries based on an exact value in a specific field, making it ideal for precise filtering in queries.
await Member.$search({
$where: {
age: {
$eq: 18
}
}
});
Last updated