mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-09 00:37:37 +01:00
Fixes #2911: Removed tbl_ default for table prefix
This commit is contained in:
@@ -30,7 +30,7 @@ use yii\helpers\ArrayHelper;
|
||||
* ~~~
|
||||
* $query = new Query;
|
||||
* $provider = new ArrayDataProvider([
|
||||
* 'allModels' => $query->from('tbl_post')->all(),
|
||||
* 'allModels' => $query->from('post')->all(),
|
||||
* 'sort' => [
|
||||
* 'attributes' => ['id', 'username', 'email'],
|
||||
* ],
|
||||
|
||||
Reference in New Issue
Block a user