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

represents a PostgreSQL-specific function More...

#include <PgsqlSqlUtilBase.qm.dox.h>

Inheritance diagram for PgsqlSqlUtilBase::PgsqlFunction:
[legend]

Public Member Methods

softlist< string > getCreateSql (*hash opt)
 returns a string that can be used to create the function in the database
 
string getDropSql (*hash opt)
 returns a string that can be used to drop the function from the database More...
 
softlist< string > getRenameSql (string new_name, *hash opt)
 returns a string that can be used to rename the function in the database More...
 
 setName (string new_name)
 sets the new name of the function
 

Private Member Methods

bool equalImpl (AbstractFunctionBase t)
 returns True if the argument is equal to the current object, False if not
 

Detailed Description

represents a PostgreSQL-specific function

Member Function Documentation

◆ getDropSql()

string PgsqlSqlUtilBase::PgsqlFunction::getDropSql ( *hash  opt)

returns a string that can be used to drop the function from the database

Parameters
optdrop options; if force is True, then the CASCADE option will be used in the drop statement

◆ getRenameSql()

softlist< string > PgsqlSqlUtilBase::PgsqlFunction::getRenameSql ( string  new_name,
*hash  opt 
)

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

Parameters
new_namethe new name of the object
optthis argument is ignored