As a new Cake user, I am having a bit of trouble transitioning from writing my own MySQL queries, to letting Cake do the heavy lifting for me. I think I have SELECT and INSERT down, but am still struggling with UPDATE. Two questions:
1.) Is there a good resource I can refer to that shows examples of raw SQL with the cake equivalent? This would really help my learning. 2.) The specific issue I am having that prompted this thread... I've got a primary key id number for a record in a table, and for that record, I want to update change the value of a given field from 1 to 0. How can I perform that simple operation with a Cake query? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
