Qore PgsqlSqlUtilBase Module Reference 1.8
Loading...
Searching...
No Matches
PgsqlSqlUtilBase::PgsqlSequence Class Reference

class for PostgreSQL sequences More...

#include <PgsqlSqlUtilBase.qm.dox.h>

Inheritance diagram for PgsqlSqlUtilBase::PgsqlSequence:
[legend]

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 PgsqlSqlUtilBase::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