Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Transaction management for Structure #35

Open
lsbardel opened this issue Jan 25, 2012 · 0 comments
Open

Transaction management for Structure #35

lsbardel opened this issue Jan 25, 2012 · 0 comments

Comments

@lsbardel
Copy link
Owner

A design choice needs to be made when pulling data from stdnet.orm.Structure.
Currently there is no transaction. Data is pulled immediately.

This is in contrast with the sessions commit which can be performed using transactions

s = session.add(Set())
with session.begin():
    t.update((2,3,4,56))
    t.delete((89,78))

It is the quivalent of a stdnet.orm.Query.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant