Package CHEM :: Package DB :: Package rdb :: Module rdbgateway
[hide private]
[frames] | no frames]

Module rdbgateway



rdbgateway.

Provides the interface between the model and the database.

Example: In [1]: import sqlobject as so In [2]: import sys,os In [3]: connString = "postgres://prigor@localhost/rdb"; conn = so.connectionForURI(connString)

Classes [hide private]
  ConnectionManager
  DatabaseGateway
TODO: Traditional database gateway implementation.
Variables [hide private]
  defaultDSN = defaultConfiguration.getDSN()
  connection = ConnectionManager(defaultDSN)