findAll to get what a field is not..
Posted: Wed Jul 02, 2008 9:11 pm
i have a findall function and i want to use it to get records with a specific column (avatar) that is not empty.
to get the records with empty avatars:
'Profile.avatar'=>'',
how about if i want to get the records with populated avatars?
i tried
'Profile.avatar'=>!'',
but that didn't work. thanks in advance.
to get the records with empty avatars:
'Profile.avatar'=>'',
how about if i want to get the records with populated avatars?
i tried
'Profile.avatar'=>!'',
but that didn't work. thanks in advance.