Hello!
I have generated the beginner webapp and used gii to create a list with my database columns.
Everything works great so far.
Now to the problem, I want to create a criteria to exclude some rows in the table. I have searched a lot on the web and I have found solutions like this: $post=Post::model()->find());
But that don’t seem to work on the “manage list” page gii created for me.
The model gii created for me just grabs everything from the database table, is there any way you can exclude rows directly in the model?
Thanks in advance.