|
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
|
|
| clearIndex () |
| clears any index base for the constraint
|
|
| getIndexSql (reference sql, string name, *hash opts) |
| adds index options onto the sql creation string
|
|
represents a MySQL-specific primary key constraint