Part of stoqlib.database.interfaces View In Hierarchy
| Method | commit | Commits the objects to the database. |
| Method | rollback | Undos all the changes made within the current transaction |
| Method | get | Fetches an object within the transaction |
| Method | add_modified_object | Adds a modified object to the transaction. |
| Method | savepoint | Creates a new savepoint |
| Method | rollback_to_savepoint | Rollback to a savepoint |
Inherited from IConnection:
| Method | close | Drops the connection to the database |
| Parameters | close | Optional, if True also closes the database |
| Parameters | name | If supplied limit changes to the last savepoint |
| Parameters | obj | a ORMObject |
| Returns | a reference to the same object within the transaction | |