Package gavo :: Package rscdef :: Module tabledef
[frames] | no frames]

Module tabledef

source code

Description and definition of tables.

Classes
  DBIndex
A description of an index in the database.
  ColumnTupleAttribute
is a tuple of column names.
  ForeignKey
A description of a foreign key relation between this table and another one.
  STCDef
A definition of a space-time coordinate system using STC-S.
  ADQLVisibilityAttribute
An attribute that has values True/False and hidden.
  PublishableDataMixin
A mixin with a few classes and attributes for data that can be published to the VO registry.
  TableDef
A definition of a table, both on-disk and internal.
Functions
 
makeTDForColumns(name, cols, **moreKWs)
returns a TableDef object named names and having the columns cols.
source code
Variables
  __package__ = 'gavo.rscdef'
Function Details

makeTDForColumns(name, cols, **moreKWs)

source code 

returns a TableDef object named names and having the columns cols.

cols is some sequence of Column objects. You can give arbitrary table attributes in keyword arguments.