Share and Money Management 0.18devel
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 (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...
 

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

◆ close_storm()

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:

◆ init_storm()

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

◆ store

smm.database.store = None

Store object for high level database access.