eee
This commit is contained in:
+1
-1
@@ -327,7 +327,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \
|
||||
public static function query(): ActiveQuery
|
||||
{
|
||||
$model = new ActiveQuery(static::instance());
|
||||
$model->from($model->getTable())->alias('t1');
|
||||
$model->select()->from($model->getTable())->alias('t1');
|
||||
return $model;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user