represents an Oracle unique constraint
More...
#include <OracleSqlUtil.qm.dox.h>
|
| 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 | getEnableSql (string table_name, *hash opt) |
| returns a string that can be used to enable the constraint in the database
|
|
*string | getTablespace () |
| returns the tablespace name used for this constraint, if known
|
|
bool | isEnabled () |
| returns True if the constraint is enabled, False if not
|
|
OracleColumn | memberGate (string k) |
| returns the OracleColumn value of the given key if it exists, otherwise throws a KEY-ERROR exception More...
|
|
|
bool | enabled |
| True if the constraint is enabled, False if not
|
|
*string | tablespace |
| any tablespace for the unique key index
|
|
represents an Oracle unique constraint
◆ memberGate()
OracleColumn OracleSqlUtil::OracleUniqueConstraint::memberGate |
( |
string |
k | ) |
|
returns the OracleColumn value of the given key if it exists, otherwise throws a KEY-ERROR
exception
- Example:
- Parameters
-
k | the name of the key to access |
- Returns
- the value of the given key in the contained hash if it exists
- Exceptions
-
KEY-ERROR | the given key does not exist in the contained hash |
- Note
- this method is called automatically when an unknown or inaccessible member name is accessed from outside the class
- See also
- memberGate() Method