Does the with only works on the latest build? As with the latest apha release i get only the results of the table inbetween with the id's.. I could not test with the nightly build as it gave some errors like string.php was not available and after i commented that out another error came up so i gave up :p
On Aug 29, 7:41 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On 8/29/07, Mech7 <[EMAIL PROTECTED]> wrote: > > > > > With the Cake way you can only select on the id of foreignkey. If you > > wanted to select on the tag name you with first query the tags with > > that name, put them in a array and then you can query the articles you > > want. So it does not really make code shorter and i assume that > > performance will decrease too since you doing 2 queries. > > Fair enough. One of the upcoming features in 1.2 is the ability to > use 'with' when doing HABTM queries, which will cut down on a lot of > queries. Check out the slides from the presentation for a quick peek: > > http://cakephp.org/files/OCPHP.pdf > > -- > Chris Hartjes > Senior Developer > Cake Development Corporation > > My motto for 2007: "Just build it, damnit!" > > @TheBallpark -http://www.littlehart.net/attheballpark > @TheKeyboard -http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
