Qore PgsqlSqlUtil Module Reference  1.6
PgsqlSqlUtil::PgsqlSequence Class Reference

class for PostgreSQL sequences More...

Inheritance diagram for PgsqlSqlUtil::PgsqlSequence:

Public Member Methods

 constructor (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
 
softlist getRenameSql (string new_name, *hash opt)
 returns a string that can be used to rename the sequence in the database More...
 

Detailed Description

class for PostgreSQL sequences

Member Function Documentation

◆ getRenameSql()

softlist PgsqlSqlUtil::PgsqlSequence::getRenameSql ( string  new_name,
*hash  opt 
)

returns a string that can be used to rename the sequence in the database

The object is renamed in place with this call

Parameters
new_namethe new name of the object
optthis option is ignored