you can make a quick Query subclass and adapt it to the recipe easily - then 
shove the whole thing in a module somewhere and you only deal with the exact 
API you specified.



On Nov 19, 2013, at 11:52 AM, Jonathan Vanasco <jonat...@findmeon.com> wrote:

> 
> 
> On Monday, November 18, 2013 8:40:13 PM UTC-5, Michael Bayer wrote:
> there’s a recipe for doing this with events:
> 
> http://www.sqlalchemy.org/trac/wiki/UsageRecipes/SessionModifiedSQL
> 
> 
> Oh wow.  This is great.  Playing with it now.
> 
> I still like my idea for syntax though , it's simpler and easier to just 
> attach a comment onto existing stuff ( rather than configuring listeners and 
> rewriting how things are queried to apply the context manager )
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at http://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/groups/opt_out.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to