Package posterity :: Module db

Module db



Classes
  System
Table for storage of system wide settings.
Functions
 
init_db()
Initializes an empty database.
Variables
  SCHEMA_VERSION = 1
  transaction = <paste.registry.StackedObjectProxy object at 0x2...
  NULLTYPE = NullTypeEngine()
  belongs_to = <elixir.statements.Statement object at 0x20e5290>
  delay_setup = False
  has_and_belongs_to_many = <elixir.statements.Statement object ...
  has_field = <elixir.statements.Statement object at 0x20dbcf0>
  has_many = <elixir.statements.Statement object at 0x20e52d0>
  has_one = <elixir.statements.Statement object at 0x20e52b0>
  metadata = MetaData()
  objectstore = <elixir.Objectstore object at 0x20db530>
  options_defaults = {'auto_primarykey': True, 'autoload': None,...
  using_mapper_options = <elixir.statements.Statement object at ...
  using_options = <elixir.statements.Statement object at 0x20db710>
  using_table_options = <elixir.statements.Statement object at 0...
  with_fields = <elixir.statements.Statement object at 0x20dbd10>
Function Details

init_db()

 

Initializes an empty database.

This function creates and initializes the tables needed by posterity.


Variables Details

transaction

Value:
StackedObjectProxy()

has_and_belongs_to_many

Value:
<elixir.statements.Statement object at 0x20e52f0>

options_defaults

Value:
{'auto_primarykey': True,
 'autoload': None,
 'inheritance': 'single',
 'mapper_options': {},
 'shortnames': False,
 'table_options': {},
 'tablename': None,
 'version_id_col': False}

using_mapper_options

Value:
<elixir.statements.Statement object at 0x20db750>

using_table_options

Value:
<elixir.statements.Statement object at 0x20db730>