I've used calulcated fields before with cake and never had this
problem.

What version are you using?

I seem to remember on one ancient version the only way to get it to
work was by starting the field with a parenthesis:

$fields = array(
  'Something.here',
  '(COMPLEX_FUNCTION(bla,blah,'woof','woof')) AS clever_alias'
  'SomethingElse.there',
);

Give that a go.
--~--~---------~--~----~------------~-------~--~----~
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