On May 28, 12:30 pm, weckmann <[EMAIL PROTECTED]> wrote:
> I need to do some complex queries with functions involved. I can call
> them with the query (or execute) method of any model, but the result
> gets splitted by cake in an array, and there it gets messed up,
> because cake is trying to split the results in table names and column
> names.
>
> Example:
>
> select users.id, users.name, my_custom_function(users.id, 'ABC'),
> users.phone from users where users.id > 500;
>
> Such query would result in a messed up array...
>
> So, is there a way to use such functions in a query without getting a
> messed up array?

I doubt it. of course if you defined "messed up array" it would
probably help ;)

AD
--~--~---------~--~----~------------~-------~--~----~
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