Definition

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

Array/Object Structure

target
string
required
value
string|int|float
required

Example

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

SQL

select * from "people" where "people"."name" != 'Taylor'

Modifiers

None available.