Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Cactivedataprovider With Custom Sql

$
0
0
I have a rather complex query that uses sub-selects and joins that have sub-selects.

Since it is difficult to create this query using CDbCriteria, I was wondering if there is any way that we can pass in the custom query into CActiveDataProvider, possibly using findAllBySql or something similar?

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>