Re: MongoDB and HABTM

2011-07-19 Thread LordG
Ok, looking at the Mongo DB source code, it doesn't do any association queries. So i'm written a behavior to solve it. On Jul 18, 4:55 pm, LordG wrote: > Hello Bakers, > > I'm busy testing Models with MongoDB. I have two Models: Recipe and > Tag. > > class Recipe extends AppModel { >     var $nam

MongoDB and HABTM

2011-07-18 Thread LordG
Hello Bakers, I'm busy testing Models with MongoDB. I have two Models: Recipe and Tag. class Recipe extends AppModel { var $name = 'Recipe'; var $mongoSchema = array( 'name' => array('type' => 'string'), 'description' => array('type' => 'string'),