Qore MysqlSqlUtil Module Reference 1.5
|
class for MySQL sequences based on a sequence table and autonomous transactions More...
#include <MysqlSqlUtil.qm.dox.h>
Public Member Methods | |
constructor (string n_table_name, string n_name, number n_start=1, number n_increment=1, *softnumber n_end) | |
creates the object from the arguments | |
string | getCreateSql (*hash opt) |
returns a string that can be used to create the sequence in the database | |
string | getDropSql (*hash opt) |
returns a string that can be used to drop the sequence from the database More... | |
softlist | getRenameSql (string new_name, *hash opt) |
returns a string that can be used to rename the sequence in the database More... | |
class for MySQL sequences based on a sequence table and autonomous transactions
string MysqlSqlUtil::MysqlSequence::getDropSql | ( | *hash | opt | ) |
returns a string that can be used to drop the sequence from the database
opt | this argument is ignored |
softlist MysqlSqlUtil::MysqlSequence::getRenameSql | ( | string | new_name, |
*hash | opt | ||
) |
returns a string that can be used to rename the sequence in the database
new_name | the new name of the object |
opt | this argument is ignored |