Definition

Filter::field('name', [FilterType::NOT_IN]);

Array/Object Structure

target
string
required
value
array,min:1
required
value.*
string|int|float
required

Example

$filter = [
    'type'   => '$notIn',
    'target' => 'name',
    'value'  => ['Nuno', 'Maduro',]
];
$sql = Person::filter([$filter])->toRawSql();

SQL

select * from "people" where "people"."name" not in ('Nuno', 'Maduro')

Modifiers

Null

select * from "people"
where "people"."name" not in ('Nuno', 'Maduro')
and "people"."name" is not null