On Wed, Jul 2, 2008 at 3:20 PM, Fernando Aramendi <[EMAIL PROTECTED]> wrote:
> what about reusing SQLAlchemy queries? do you put them as class methods in
> domain classes, repositories/daos, controllers?

I make class method in my ORM classes for all the queries I need.
They return either a query or some higher-level value.

-- 
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to