prepare() public method
Prepares for building SQL.
This method is called by yii\db\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.
| public $this prepare ( $builder ) | ||
|---|---|---|
| $builder | yii\db\QueryBuilder | |
| return | $this |
A prepared query instance which will be used by yii\db\QueryBuilder to build the SQL |
Please login to continue.