I've run into the same problem but never learned how to get around it. I have one site that I very much want to re-write for Cake but it relies on many custom functions in Postrgresql. I thought that I might take a stab at it later this summer, using only Model::query(), but I'm not sure it's worth doing.
On Wed, May 28, 2008 at 7:12 AM, weckmann <[EMAIL PROTECTED]> wrote: > > OK here you are: > > From my example above the returned array would look like: > > [0] > [users] > [id] => 1234 > [name] => Johnson > [my_custom_function(users] > [id] => somesamplevalue > [1]..... > > So, obviously he thinks that "my_custom_function(users" is a tables > name because it is followed by a ".". And he thinks that the "," which > separates the parameters of the function means that after it the next > tablename will follow... so he thinks that the next tablename is > "'ABC')" and tries to get the corresponding entry in the answer of the > database and of course he dont find anything with that tablename. > > So any requested value after the function is lost... > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
