I am curious as to why in the wiki tutorial it seems that the standard
way of using SA is now the long form of 

DBSession.query(Page).filter_by etc
DBSession.save()
DBSession.commit()

instead of the session context approach that is the default in 1.1

I'm sure there are good reasons so I'd like to hear them. Will there
perhaps be a switch to get the session context behaviour instead? I
personally like being able to count on an automatic write after each
controller method and to be able to use

Page.query.get(1) etc

But I realize my db needs are very simplistic.

Thanks
Iain 


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

Reply via email to