Qore MysqlSqlUtil Module Reference
1.4.3
|
represents a MySQL-specific primary key constraint More...
Public Member Methods | |
string | getDropSql (string table_name) |
returns a string that can be used to drop the constraint from the database | |
softlist | getRenameSql (string table_name, string new_name) |
primary keys have no name in MySQL so this method returns an empty list | |
MysqlColumn | memberGate (string k) |
returns the MysqlColumn value of the given key if it exists, otherwise throws a KEY-ERROR exception More... | |
bool | supportsName () |
returns False since primary key constraints in MySQL have no name | |
represents a MySQL-specific primary key constraint
MysqlColumn MysqlSqlUtil::MysqlPrimaryKey::memberGate | ( | string | k | ) |
returns the MysqlColumn 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 |