Definition
Array/Object Structure
string
required
array,min:1
required
string|int|float
required
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Filter::field('name', [FilterType::NOT_IN]);
$filter = [
'type' => '$notIn',
'target' => 'name',
'value' => ['Nuno', 'Maduro',]
];
$sql = Person::filter([$filter])->toRawSql();
select * from "people" where "people"."name" not in ('Nuno', 'Maduro')
select *
from "people"
where (
"people"."name" not in ('Nuno', 'Maduro')
and
"people"."name" is not null
)
