Re: Using standard methods to do more difficult queries

2007-07-02 Thread DJ Spark
hi, there's a manual here, where it's all quite well explained: http://manual.cakephp.org/ you will find interesting the part where they show all the Association stuff. The last topic in this chapter is about bindModel / unbindModel http://manual.cakephp.org/chapter/models related to the H

Re: Using standard methods to do more difficult queries

2007-07-02 Thread BoSc
So, I have been looking for info myself, and I believe this is what is called HABTM filtering. Any tutorials on how to use bindmodel? Because this isn't very clear to me :( On Jul 2, 4:11 pm, BoSc <[EMAIL PROTECTED]> wrote: > Basically what I would like to do, when calling the findAll method fo

Using standard methods to do more difficult queries

2007-07-02 Thread BoSc
Basically what I would like to do, when calling the findAll method for the model Authors is giving where arguments that refer to another model then Authors. Suppose I have three tables *Authors have many (1:N) *Books have many (N:M) *categories If I would like to few all Books by a certain