Articles tagged with "sql"X
Displaying 1-3 of 3 result(s).

Yii2: Query build for complexity SQL

Created about a year ago by Scott_HuangTips0 comments – viewed 6,260 times – version 2.0
As for complexity SQL query we have two solutions as below, I will discuss #2 in this article.

custom sql query results to CDetailView

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos8 comments – viewed 30,927 times – ( +3 ) – version 1.1
This is a bried guide about displaying of custom sql query results.

Using a CDbDataReader (sql query result) in a zii widget (such as CGridView or CListView)

Created 5 years ago by Revelis Luc BonninHow-tos2 comments – viewed 26,820 times – ( +9 / -1 ) – version 1.1
If in your application you have to proceed to a complex SQL query that is not associated to a model, you will use CDbDataReader like it is described in the Yii documentation. An example could be