Definition

Filter::field('description', [FilterType::NOT_LIKE])

Array/Object Structure

target
string
required
value
string|int|float
required

Example

$filter = [
    'type'   => '$notLike',
    'target' => 'description',
    'value'  => 'Symfony',
];
$sql = Project::filter([$filter])->toRawSql();

SQL

select * from "projects" where "projects"."description" NOT LIKE '%Symfony%'

Modifiers

Start

select * from "projects" where "projects"."description" NOT LIKE 'Symfony%'

End

select * from "projects" where "projects"."description" NOT LIKE '%Symfony'