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

represents a PostgreSQL view More...

#include <PgsqlSqlUtilBase.qm.dox.h>

Inheritance diagram for PgsqlSqlUtilBase::PgsqlView:
[legend]

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