|
Share and Money Management 0.18devel
|
Functions to create, open and close the database as well as the db schema and the initial data set. More...
Functions | |
| def | init_storm (uri) |
| Initialise the Storm ORM wrapper. More... | |
| def | close_storm () |
| Close the Storm ORM wrapper. More... | |
Variables | |
| store = None | |
| Store object for high level database access. More... | |
Functions to create, open and close the database as well as the db schema and the initial data set.
| def smm.database.close_storm | ( | ) |
Close the Storm ORM wrapper.
All open changes will be written in the database
Referenced by gui.dialogs.DlgPreferences.OnCreateDatabase().
| def smm.database.init_storm | ( | uri | ) |
Initialise the Storm ORM wrapper.
| uri | Database URI |
Referenced by gui.dialogs.DlgPreferences.OnCreateDatabase(), tests.test_database.TestDatabase.setUp(), tests.test_misc.TestMisc.setUp(), and tests.test_objects.TestObjects.setUp().
| smm.database.store = None |
Store object for high level database access.