DbStruct Pile
version 0.0.1
This pile contains classes that can be used to
|
Public Member Functions | |
def | __init__ (self) |
def | table_start (self, name, node) |
def | table_end (self, name, node) |
def | column (self, name, label, datatype, nulls, node, dtnode) |
def | view_start (self, name, node) |
def | view_end (self, name, node) |
def | view_subset (self, node, subset) |
Public Member Functions inherited from pileschema.Driver | |
def | __init__ (self) |
def | database_start (self, name, node) |
def | database_end (self, name, node) |
def | table_start (self, name, node) |
def | table_end (self, name, node) |
def | column (self, name, label, datatype, nulls, node, dtnode) |
def | view_start (self, name, node) |
def | view_end (self, name, node) |
def | view_subset (self, node, subset) |
def | check_foreign_keys (self) |
Public Attributes | |
sql_string | |
foreign_keys | |
Public Attributes inherited from pileschema.Driver | |
views | |
tables | |
Additional Inherited Members | |
Static Public Member Functions inherited from pileschema.Driver | |
def | get_foreign_key (node) |
Default implementation with regard to the underlying Sql variant.
def pileschema.SqlDriver.column | ( | self, | |
name, | |||
label, | |||
datatype, | |||
nulls, | |||
node, | |||
dtnode | |||
) |
Processing a column
def pileschema.SqlDriver.table_end | ( | self, | |
name, | |||
node | |||
) |
Done processing table `name`
def pileschema.SqlDriver.table_start | ( | self, | |
name, | |||
node | |||
) |
Starting to process table `name`
def pileschema.SqlDriver.view_end | ( | self, | |
name, | |||
node | |||
) |
Done processing view `name`
def pileschema.SqlDriver.view_start | ( | self, | |
name, | |||
node | |||
) |
Starting to process view `name`
def pileschema.SqlDriver.view_subset | ( | self, | |
node, | |||
subset | |||
) |
Process a subset in a view