OR Operator
Use the OR operator to match records that satisfy at least one of multiple conditions.
Purpose
The OR operator allows you to broaden search results by
matching records that fulfill any of the specified conditions.
It is ideal for flexible and inclusive filtering logic.
Example Usage
$users = $prisma->user->findMany([
'where' => [
'OR' => [
['email' => ['contains' => 'gmail.com']],
['name' => ['contains' => 'Rey']]
]
]
]);