I have a situation where I would like to achieve the following query: SELECT [fields] FROM [Model] WHERE CONCAT([Model.field], 'some value') IN ([List of Values])
Given the way that specifying an array of conditions works currently in Cake I cannot achieve this output. Instead I write out the full condition as a string in my controller and pass it to the query. This is messy and error prone, but works for now. My question: Does the Cake development team see any benefit in adding the ability to Cake to manipulate the field name in a conditions array? If so, then I will have a crack at building it and submit if for consideration. If not, then I will just hack together a solution for my problem. Regards, Langdon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---