Qore OracleSqlUtil Module Reference  1.4
OracleSqlUtil::OracleCodeBaseNoRename Class Reference

the base class for Oracle code objects that cannot be renamed in place More...

Inheritance diagram for OracleSqlUtil::OracleCodeBaseNoRename:

Public Member Methods

 constructor (string n, string n_type, string n_src)
 creates the object from the arguments passed More...
 
softlist getRenameSql (string new_name, *hash opt)
 returns a string that can be used to rename the object in the database More...
 
- Public Member Methods inherited from OracleSqlUtil::OracleCodeBase
 constructor (string n, string n_type, string n_src)
 creates the object from the arguments passed More...
 
bool equalImpl (AbstractFunctionBase t)
 returns True if the argument is equal to the current object, False if not
 
softlist getCreateSql (*hash opt)
 returns a string that can be used to create the object in the database More...
 
softlist getRenameSql (string new_name, *hash opt)
 returns a string that can be used to rename the object in the database More...
 

Detailed Description

the base class for Oracle code objects that cannot be renamed in place

Member Function Documentation

◆ constructor()

OracleSqlUtil::OracleCodeBaseNoRename::constructor ( string  n,
string  n_type,
string  n_src 
)

creates the object from the arguments passed

Parameters
nthe name of the object
n_typethe type of object
n_srcthe source of the object

◆ getRenameSql()

softlist OracleSqlUtil::OracleCodeBaseNoRename::getRenameSql ( string  new_name,
*hash  opt 
)

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

The object is dropped and recreated with this method call

Parameters
new_namethe new name of the object
optrename options; if force if True, then the FORCE option will be used with the drop statement