(eg. 'like') for this type of condition and rewrite the query to check
the appropriate table.
On Tue, Jul 28, 2009 at 8:55 AM, kicaj<kicaj@kdev.pl> wrote:
>
> Hi,
>
> I create table products width: id, name, desc, created, modified...
> I use i18n and Translate Behavior to translate data
> Then I drop field name and desc form products table, because will be
> wroten in i18n table.
>
> Now when i want use conditions like this:
> Product.name LIKE => '%keyword%' i get message: Unknown column
> 'Product.name' in 'where clause'
>
> How I can repaire this problem, any solution?
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment