Hi,

I would like to make a MySQL request with an UNION but I can't find out 
a way to do it by using CakePHP methods.
I looked at Google but it seems that the only way to do it is to make a 
custom request by using /query()/.
But I don't want to do it that way because I need the recursive option 
that we can have with /find()/ or /findAll()/.
So, to make it works, I am doing 2 different requests (by using 
/findAll()/) and I merge the 2 results in a array().
To be honest, I don't like my idea at all.

I would like to know if there is another way to do it better ?

Thanks.

-- 
 *Pierre MARCOURT*      
         
*IT Department*         
        *CableOrganizer.com*
5610 NW 12th Ave, suite 214
Fort Lauderdale, FL 33304
 

        
        Phone: 954-861-6310
Fax: 954-861-2001


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to