Package gavo :: Package rsc :: Module tables
[frames] | no frames]

Module tables

source code

Common interface to table implementations.

Functions
 
TableForDef(tableDef, suppressIndex=False, parseOptions=<ParseOptions validateRows=False maxRows=None keepGoing=False>, **kwargs)
returns a table instance suitable for holding data described by tableDef.
source code
Variables
  __package__ = 'gavo.rsc'
Function Details

TableForDef(tableDef, suppressIndex=False, parseOptions=<ParseOptions validateRows=False maxRows=None keepGoing=False>, **kwargs)

source code 

returns a table instance suitable for holding data described by tableDef.

This is the main interface to table instancation.

suppressIndex=True can be used to suppress index generation on in-memory tables with primary keys. Use it when you are sure you will not need the index (e.g., if staging an on-disk table).

See the `function getParseOptions`_ for what you can pass in as ``parseOptions``; arguments there can also be used here.