you can try this
array
("or" =>
array
(
"Post.title" => array("First post", "Second post", "Third
post"),
"Post.created" => "> " . date('Y-m-d', strtotime("-2 weeks") .
' group by Post.title' )
)
)
this should work...check the sql output (by setting debug level to 3)
to verify SQL query
The idea is to insert the group by condition in the last index of an
array.
Regards
bingo
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---