![]() |
Qore OracleSqlUtil Module Reference
1.4.4
|
represents an Oracle primary key More...
Public Member Methods | |
clearIndex () | |
clears any index base for the constraint | |
string | getDisableSql (string table_name) |
returns a string that can be used to temporarily disable the constraint from the database | |
string | getDropSql (string table_name) |
returns a string that can be used to drop the constraint from the database More... | |
string | getEnableSql (string table_name, *hash opt) |
returns a string that can be used to enable the constraint in the database | |
OracleColumn | memberGate (string k) |
returns the OracleColumn value of the given key if it exists, otherwise throws a KEY-ERROR exception More... | |
Private Attributes | |
*string | tablespace |
any tablespace for the primary key index | |
represents an Oracle primary key
returns a string that can be used to drop the constraint from the database
we use "keep index" to ensure that indexes are not dropped automatically for consistency's sake
OracleColumn OracleSqlUtil::OraclePrimaryKey::memberGate | ( | string | k | ) |
returns the OracleColumn value of the given key if it exists, otherwise throws a KEY-ERROR
exception
k | the name of the key to access |
KEY-ERROR | the given key does not exist in the contained hash |