Overview
Once you have made your modelFilterable.
You should pass filters to ::filter() on the model.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Filterable.
You should pass filters to ::filter() on the model.
$sql = Product::filter([
[
'target' => 'name',
'type' => '$eq',
'value' => 'TV',
],
])->toRawSql();
select * from "products" WHERE "products"."name" = 'TV'
