Try putting -! in front of the command, eg
$data = array( 'data' => '-!AES_ENCRYPT(value,key)' );

More detail on Daniel's blog (
http://cakebaker.42dh.com/2007/05/22/how-to-use-sql-functions-in-conditions-part-ii/
)

On Jul 28, 11:56 pm, rpeterson <[EMAIL PROTECTED]> wrote:
> Also, I am using Cake 1.2 latest, and here is the behavior for
> reference,http://bin.cakephp.org/view/166336900


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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