php - Models in Yii Framework? -
I create a website application using the YI Framework.
I want to use the model with query like this:
SELECT u.id, u.username, u.score, (SELECT COUNT (ownerId) Posted by P WHERE p.ownerId = u.id) as per U.U. Score DESC, Total Posts DESC LIMIT 10
Please change the query in the Yii Framework model Help me out
The related chapter "Fixed Guide to Yii" -
Comments
Post a Comment