$notIn
Filter records where a column’s value is not within a specified list of values. The $notIn method is used to retrieve entries that do not match any value from a provided array, allowing you to exclude multiple values in a query.
await Member.$search({
$where: {
badges: {
$notIn: [["VIP"]]
}
}
});
Last updated