| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
base.meta.MetaMixin --+
|
object --+ |
| |
common.ParamMixin --+
|
BaseTable
is a container for row data.
Tables consist of rows, where each row maps column names to their value for that row. The rows are accessible at least by iterating over a table.
Tables get constructed with a tableDef and keyword arguments. For convenience, tables must accept any keyword argument and only pluck those out it wants.
Here's a list of keywords used by BaseTables or known subclasses:
You can add rows using the addRow method. For bulk additions, however, it may be much more efficient to call getFeeder (though for in-memory tables, there is no advantage).
Tables can run "scripts" if someone furnishes them with a _runScripts method. This currently is only done for DBTables. See Scripting_.
Initial Metadata is populated from the tableDef.
Tables have to implement the following methods:
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
| Properties | |
|
Inherited from |
| Method Details |
is a constructor for standalone use. You do *not* want to call this when mixing into a Structure.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |