$is
Filter records where a column’s value is exactly equal to the specified value, including NULL. The $is method is useful for precise comparisons, including checking for NULL values explicitly.
await Member.$search({
$where: {
username: {
$is: null
}
}
});
Last updated