I am passing true or false as a condition in a find() but stumped how to
pull db records based on the true or false.

 

Basically in the db table I have a bool field

 

If TRUE is passed as a condition I need to get only records where the bool
value is ZERO, if FALSE get all ZERO and 1 records.

 

Thoughts?

 

Thanks

 

Dave

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to