[sqlalchemy] Re: Performing read-only operations without a session (avoiding leaks)

2007-06-19 Thread Mike Orr

On 6/15/07, Michael Bayer [EMAIL PROTECTED] wrote:
 create_session().query(Whatever).filter(...).all()

You added .all() when I wasn't looking?  :)

-- 
Mike Orr [EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~--~~~~--~~--~--~---



[sqlalchemy] Re: Performing read-only operations without a session (avoiding leaks)

2007-06-19 Thread Michael Bayer



On Jun 19, 3:50 pm, Mike Orr [EMAIL PROTECTED] wrote:
 On 6/15/07, Michael Bayer [EMAIL PROTECTED] wrote:

  create_session().query(Whatever).filter(...).all()

 You added .all() when I wasn't looking?  :)

 --
 Mike Orr [EMAIL PROTECTED]

if its not there i need to add it since id like to get some 0.4
forwards-compatibility going (yes, the new Query interface is fully
built in 0.4)


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~--~~~~--~~--~--~---