December 2007 7:17 p.m.
To: Cake PHP
Subject: findAll, associations, HABTM
https://trac.cakephp.org/ticket/633
https://trac.cakephp.org/ticket/1209
http://groups.google.pl/group/cake-php/browse_thread/thread/d9468ba788c5ac2c
/fb23c6ada4ae8ccd?#fb23c6ada4ae8ccd
So it's broken and has been
[mailto:[EMAIL PROTECTED] On Behalf
Of Mr-Yellow
Sent: Tuesday, 11 December 2007 7:17 p.m.
To: Cake PHP
Subject: findAll, associations, HABTM
https://trac.cakephp.org/ticket/633https://trac.cakephp.org/ticket/1209http://groups.google.pl/group/cake-php/browse_thread/thread/d9468ba78...
So it's
, associations, HABTM
https://trac.cakephp.org/ticket/633https://trac.cakephp.org/ticket/12..
So it's broken and has been for a year?
This is really odd. to my thinking, without findAll working
properly then the whole database abstraction is a waste of time and
it's better to use
On Dec 11, 2007 7:46 PM, jon [EMAIL PROTECTED] wrote:
I know what you mean. I've spent three days to solve a problem that's
three lines of regular PHP code and still no solution. Apparently
CakePHP 'just works!' so doesn't need documentation. Yeah, well if it
works, it's on minimum wage and
The new with attribute seems to go some way to fixing it, however
the functionality has changed since first included and the tutorials
out there are dated.
If you include a model for your HABTM with, then query that model.
Sorry for the non-naming convention tables, from older legacy system.
On Dec 11, 2007 10:25 PM, Mr-Yellow [EMAIL PROTECTED] wrote:
As for writting CakePHP I think that would be better left to those
with an eye on the direction and conventions of the project, those who
should realise this is a feature at the basis of being able to use
CakePHP for DB access.
Needed to use 'DISTINCT Pack.PackID' hack too.
What does the unique attribute do in models,? Can't find it documented
anywhere.
-Ben
On Dec 12, 12:44 pm, Chris Hartjes [EMAIL PROTECTED] wrote:
On Dec 11, 2007 7:46 PM, jon [EMAIL PROTECTED] wrote:
I know what you mean. I've spent three
http://tempdocs.cakephp.org/#TOC70554
This says The $conditions should be formed just as they would in an
SQL statement
Is the new way of doing it just pure SQL without all this array
garbage that doesn't really work?
-Ben
On Dec 12, 4:02 pm, Mr-Yellow [EMAIL PROTECTED] wrote:
https://trac.cakephp.org/ticket/633
https://trac.cakephp.org/ticket/1209
http://groups.google.pl/group/cake-php/browse_thread/thread/d9468ba788c5ac2c/fb23c6ada4ae8ccd?#fb23c6ada4ae8ccd
So it's broken and has been for a year?
This is really odd. to my thinking, without findAll working