I have a class called Message. When I do this

$this->Message->find('first', array('conditions'=>
    array('Message.id'=>$id)));

I get the following error *SQL Error:* 1066: Not unique table/alias:
'Message'

Is Message a reserved keyword in cake? what's causing this?

thanks

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