Qore Schema Module Reference
1.3
|
this namespace contains all public definitions in the Schema module More...
Classes | |
class | AbstractSchema |
the AbstractSchema class is a base class to assist with automatic schema management More... | |
class | AbstractVersionedSchema |
this class extends Schema::AbstractSchema by providing version logic based on a schema version string contained within the schema itself More... | |
class | SchemaCallbackHelper |
this class provides callback support for schema operations More... | |
Functions | |
hash< GenericColumnInfo > | c_blob (bool notnull=False, *string comment) |
returns a column hash for a BLOB column More... | |
hash< GenericColumnInfo > | c_blob (string comment) |
returns a column hash for a BLOB column More... | |
hash< GenericColumnInfo > | c_char (int size, bool notnull=False, *string comment) |
returns a column hash for a CHAR column More... | |
hash< GenericColumnInfo > | c_char (int size, string comment) |
returns a column hash for a CHAR column More... | |
hash< GenericColumnInfo > | c_clob (bool notnull=False, *string comment) |
returns a column hash for a CLOB column More... | |
hash< GenericColumnInfo > | c_clob (string comment) |
returns a column hash for a CLOB column More... | |
hash< GenericColumnInfo > | c_date (bool notnull=False, *string comment) |
returns a column hash for a DATE column More... | |
hash< GenericColumnInfo > | c_date (string comment) |
returns a column hash for a DATE column More... | |
hash< GenericColumnInfo > | c_int (bool notnull=False, *string comment) |
returns a column hash for an INT column More... | |
hash< GenericColumnInfo > | c_int (string comment) |
returns a column hash for an INT column More... | |
hash< GenericColumnInfo > | c_number (bool notnull=False, *string comment) |
returns a column hash for a NUMBER or NUMERIC column More... | |
hash< GenericColumnInfo > | c_number (int size, int scale, bool notnull=False, *string comment) |
returns a column hash for a NUMBER or NUMERIC column More... | |
hash< GenericColumnInfo > | c_number (int size, bool notnull=False, *string comment) |
returns a column hash for a NUMBER or NUMERIC column More... | |
hash< GenericColumnInfo > | c_number (int size, string comment) |
returns a column hash for a NUMBER or NUMERIC column More... | |
hash< GenericColumnInfo > | c_timestamp (bool notnull=False, *string comment) |
returns a column hash for a TIMESTAMP column More... | |
hash< GenericColumnInfo > | c_timestamp (string comment) |
returns a column hash for a TIMESTAMP column More... | |
hash< GenericColumnInfo > | c_varchar (int size, bool notnull=False, *string comment) |
returns a column hash for a VARCHAR column More... | |
hash< GenericColumnInfo > | c_varchar (int size, string comment) |
returns a column hash for a VARCHAR column More... | |
Variables | |
const | C_NOT_NULL = True |
Helper constant for column hash functions with "NOT NULL" constraint for better readability. | |
const | C_NULL = False |
Helper constant for column hash functions with "NULL" constraint for better readability. | |
this namespace contains all public definitions in the Schema module
returns a column hash for a BLOB
column
notnull | True for a NOT NULL constraint on the column. See constants Schema::C_NULL and Schema::C_NOT_NULL |
comment | an optional comment for the column |
returns a column hash for a BLOB
column
comment | the comment for the column |
returns a column hash for a CHAR
column
size | the size of the column |
notnull | True for a NOT NULL constraint on the column. See constants Schema::C_NULL and Schema::C_NOT_NULL |
comment | an optional comment for the column |
returns a column hash for a CHAR
column
size | the size of the column |
comment | the comment for the column |
returns a column hash for a CLOB
column
notnull | True for a NOT NULL constraint on the column. See constants Schema::C_NULL and Schema::C_NOT_NULL |
comment | an optional comment for the column |
returns a column hash for a CLOB
column
comment | the comment for the column |
returns a column hash for a DATE
column
notnull | True for a NOT NULL constraint on the column. See constants Schema::C_NULL and Schema::C_NOT_NULL |
comment | an optional comment for the column |
returns a column hash for a DATE
column
comment | the comment for the column |
returns a column hash for an INT
column
notnull | True for a NOT NULL constraint on the column. See constants Schema::C_NULL and Schema::C_NOT_NULL |
comment | an optional comment for the column |
INT
is not supported by the dataserverreturns a column hash for an INT
column
comment | the comment for the column |
INT
is not supported by the dataserverreturns a column hash for a NUMBER
or NUMERIC
column
notnull | True for a NOT NULL constraint on the column. See constants Schema::C_NULL and Schema::C_NOT_NULL |
comment | an optional comment for the column |
hash<GenericColumnInfo> Schema::c_number | ( | int | size, |
int | scale, | ||
bool | notnull = False , |
||
*string | comment | ||
) |
returns a column hash for a NUMBER
or NUMERIC
column
size | the size of the column |
scale | the scale of the column |
notnull | True for a NOT NULL constraint on the column. See constants Schema::C_NULL and Schema::C_NOT_NULL |
comment | an optional comment for the column |
returns a column hash for a NUMBER
or NUMERIC
column
size | the size of the column |
notnull | True for a NOT NULL constraint on the column. See constants Schema::C_NULL and Schema::C_NOT_NULL |
comment | an optional comment for the column |
returns a column hash for a NUMBER
or NUMERIC
column
size | the size of the column |
comment | a comment for the column |
returns a column hash for a TIMESTAMP
column
notnull | True for a NOT NULL constraint on the column. See constants Schema::C_NULL and Schema::C_NOT_NULL |
comment | an optional comment for the column |
returns a column hash for a TIMESTAMP
column
comment | the comment for the column |
returns a column hash for a VARCHAR
column
size | the size of the column |
notnull | True for a NOT NULL constraint on the column. See constants Schema::C_NULL and Schema::C_NOT_NULL |
comment | an optional comment for the column |