mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Fixes #2880
This commit is contained in:
@ -123,6 +123,16 @@ class Query extends Component implements QueryInterface
|
||||
return $db->createCommand($sql, $params);
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepares for building SQL.
|
||||
* This method is called by [[QueryBuilder]] when it starts to build SQL from a query object.
|
||||
* You may override this method to do some final preparation work when converting a query into a SQL statement.
|
||||
* @param QueryBuilder $builder
|
||||
*/
|
||||
public function prepareBuild($builder)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts a batch query.
|
||||
*
|
||||
|
Reference in New Issue
Block a user