Qore PgsqlSqlUtil Module Reference  1.5
PgsqlSqlUtil::PgsqlView Class Reference

represents a PostgreSQL view More...

Inheritance diagram for PgsqlSqlUtil::PgsqlView:

Public Member Methods

 constructor (string n_name, string n_src, *string n_schemaname, *string n_viewowner)
 creates the object from the arguments
 
string getCreateSql (*hash opt)
 returns a string that can be used to create the view in the database
 
softlist getRenameSql (string new_name, *hash opt)
 returns a string that can be used to rename the view in the database More...
 

Public Attributes

*string viewowner
 Owner of the view.
 

Detailed Description

represents a PostgreSQL view

Member Function Documentation

◆ getRenameSql()

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

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

The object is renamed in place with this call

Parameters
new_namethe new name of the object
optthis option is ignored