This is how you’d write a BETWEEN… AND… SQL query in a cake-like way. The example should be pretty much self explanatory: $this->Post->find(‘all’, array(‘conditions’=>array(‘Post.id BETWEEN

Read More

What exactly is the differednce between $this->User->read() and $this->User->find()? Seemingly, they both retrieve the data (and possibly associated data) for the User model. Yet, there

Read More
%d bloggers like this: