Share and Money Management  0.16
Functions | Variables
smm.database Namespace Reference

Functions to create, open and close the database as well as the db schema and the initial data set. More...

Functions

def init_storm
 Initialise the Storm ORM wrapper.
def close_storm
 Close the Storm ORM wrapper.

Variables

 store = None
 Store object for high level database acccess.

Detailed Description

Functions to create, open and close the database as well as the db schema and the initial data set.

Author
Carsten Grohmann <mail (at) carstengrohmann (dot) de>
License:
GPL version 2.0

Function Documentation

def smm.database.close_storm ( )

Close the Storm ORM wrapper.

All open changes will be written in the database

See Also
init_storm()

Referenced by gui.dialogs.DlgPreferences.OnCreateDatabase().

Here is the caller graph for this function:

def smm.database.init_storm (   uri)

Initialise the Storm ORM wrapper.

Parameters
uriDatabase URI
See Also
close_storm()

Referenced by gui.dialogs.DlgPreferences.OnCreateDatabase(), tests.test_database.TestDatabase.setUp(), tests.test_misc.TestMisc.setUp(), and tests.test_objects.TestObjects.setUp().

Here is the caller graph for this function:

Variable Documentation

smm.database.store = None

Store object for high level database acccess.