$notLike
Filter records where a column’s value does not match a specified pattern. The $notLike method is used to exclude entries that match a given string pattern, making it useful for ensuring certain text conditions are not met in a query.
await Member.$search({
$where: {
username: {
$notLike: '%bes%'
}
}
});
Last updated