base class for sequences
More...
Inherits Serializable.
|
|
| constructor (string n_name, number n_start=1, number n_increment=1, __7_ softnumber n_max) |
| | creates the object from the arguments
|
| |
|
abstract string | getCreateSql (__7_ hash< auto > opt) |
| | returns a string that can be used to create the sequence in the database
|
| |
| string | getDropSql (__7_ hash< auto > opt) |
| | returns a string that can be used to drop the sequence from the database More...
|
| |
| abstract softlist< auto > | getRenameSql (string new_name, __7_ hash< auto > opt) |
| | returns a list of strings that can be used to rename the sequence in the database More...
|
| |
◆ getDropSql()
| string SqlUtil::AbstractSequence::getDropSql |
( |
__7_ hash< auto > |
opt | ) |
|
returns a string that can be used to drop the sequence from the database
- Parameters
-
| opt | drop options (if supported by the driver and object); in this generic base class method, this argument is ignored |
◆ getRenameSql()
| abstract softlist<auto> SqlUtil::AbstractSequence::getRenameSql |
( |
string |
new_name, |
|
|
__7_ hash< auto > |
opt |
|
) |
| |
|
pure virtual |
returns a list of strings that can be used to rename the sequence in the database
- Parameters
-
| new_name | the new name of the object |
| opt | drop options (if supported by the driver and object) |