I’m new to YII. I hope that someone can help me with this one.
In YII you have the ActiveRecord to manipulate tables in the database. You also have the DOA
for writing your own queries.
I was wondering if i want to execute for example a SELECT * FROM users query, where do i have to put this?
I am used to put queries into a Model (i was using Codeigniter). I see a lot of examples HOW to build Sql queries, but i can’t see WHERE those commands are in the right place.