What's the statement the cake is trying to run? Can you paste it here?

On Jan 22, 8:49 am, "keymaster" <[EMAIL PROTECTED]> wrote:
> Cake doesn't seem to like it when the following is passed as a $field
> to findAll():
>
> '2007-02-12' BETWEEN Availability.from_date AND Availability.to_date AS
> available
>
> Resulting derived column "available" should be true or false according
> to MySQL, but cake doesn't seem to like it - an improperly formed
> SELECT statement is created resulting in an SQL error due to the fact
> the above statement is truncated mid-way.
> 
> Is this not meant to work in cake?


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