mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Fixes #2022: Added info about yii\db\Query::andFilterCompare()
to guide
This commit is contained in:
@ -395,9 +395,11 @@ class PostSearch extends Post
|
||||
return $dataProvider;
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
> Tip: See [Query Builder](db-query-builder.md) and especially [Filter Conditions](db-query-builder.md#filter-conditions)
|
||||
> to learn how to build filtering query.
|
||||
|
||||
You can use this function in the controller to get the dataProvider for the GridView:
|
||||
|
||||
```php
|
||||
|
Reference in New Issue
Block a user