Wiki

Articles tagged with "sql", sorted by ratingX
Displaying 1-3 of 3 result(s).

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,697 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

custom sql query results to CDetailView

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

Yii2: Query build for complexity SQL

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