pytable.schemabuilder
index
p:\table\pytable\schemabuilder.py

Convenience module for manually creating schemas
 
Basically this module provides short form names for
the various schema objects defined in dbschema.py. The
functions often allow for positional arguments, which
is useful when manually generating a schema.

 
Modules
       
pytable.dbschema

 
Functions
       
check(expression, **named)
Create a new field schema
count = sequence(name, comment='', **named)
Create a new sequence schema
database(name, tables=(), comment='', **named)
Create a new database schema
field(name, dbDataType, displaySize=0, comment='', **named)
Create a new field schema
foreign = foreignKey(foreignTable, foreignFields=(), comment='', **named)
Create a new field schema
foreignKey(foreignTable, foreignFields=(), comment='', **named)
Create a new field schema
index(fields=(), unique=1, **named)
Create a new index schema
references = foreignKey(foreignTable, foreignFields=(), comment='', **named)
Create a new field schema
sequence(name, comment='', **named)
Create a new sequence schema
table(name, fields=(), comment='', **named)
Create a new table schema