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::IN]);
$filter = [
'type' => '$in',
'target' => 'name',
'value' => ['Taylor', 'Otwell',]
];
$sql = Person::filter([$filter])->toRawSql();
select * from "people" where "people"."name" in ('Taylor', 'Otwell')
select *
from "people"
where (
"people"."name" in ('Taylor', 'Otwell')
or
"people"."name" is null
)
