Not a big fan of the syntax, but I like the overall idea. Maybe something like: Function::COUNT(:id), Function::YEAR(:created_at), etc?
Or with the upcoming UoW work... dm.functions::COUNT(:id). Where dm#functions would return a Syntax class that could be adapter specific. -Sam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
