db\ActiveQuery prepare()

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

doc_Yii
2016-10-30 16:56:12
Comments
Leave a Comment

Please login to continue.