NOT Operator
The NOT operator negates a condition, excluding records that match the specified criteria.
Purpose
The NOT operator is used to exclude records matching a given
condition. It can negate simple comparisons or entire nested structures for more advanced logic.
Example
$users = $prisma->user->findMany([
'where' => [
'email' => ['contains' => 'gmail.com'],
'NOT' => ['roleId' => 1]
]
]);