Yii Query Tutorials

Yii createCommand queryAll

I posted here examples of createCommand Query with properties. createCommand Properties are distinct, from, group, having, join, limit, offset, params, pdoStatement, select and where. CDbCommand represents an SQL statement to execute against a database. bindParam used to bind a php variable to parameter in SQL query. bindValue is used to bind a value to and SQL Parameter with automatic preparedFunctionstext, bindParam, executefrom, select, where, queryrowbindValuelimit, queryAlllimit, offset, orderDISTINCTandWhereorWheregroup, havingjoinPropertiesFunctions $connection=Yii::app()->db; […]... Read More »