base class for functions
More...
#include <SqlUtil.qm.dox.h>
|
| constructor (string n, string n_type, string n_src) |
| creates the object from the arguments passed More...
|
|
abstract list< auto > | getCreateSql (*hash< auto > opt) |
| returns a list of SQL strings that can be used to create the function in the database
|
|
abstract softlist< auto > | getRenameSql (string new_name, *hash< auto > opt) |
| returns a list of strings that can be used to rename the function in the database More...
|
|
| setName (string new_name) |
| sets the new name of the object
|
|
| constructor (string n, string n_type, string n_src) |
| creates the object from the arguments passed More...
|
|
bool | equal (AbstractFunctionBase t) |
| returns True if the argument is equal to the current object, False if not
|
|
string | getDropSql (*hash< auto > opt) |
| returns a string that can be used to drop the function from the database More...
|
|
string | getNormalizedSource (string src) |
| returns normalized source for comparisons
|
|
string | getType () |
| returns the type of object
|
|
|
string | name |
| the name of the object
|
|
string | src |
| the source of the object
|
|
string | type |
| the type of object
|
|
abstract bool | equalImpl (AbstractFunctionBase t) |
| returns True if the argument is equal to the current object, False if not
|
|
◆ constructor()
SqlUtil::AbstractFunction::constructor |
( |
string |
n, |
|
|
string |
n_type, |
|
|
string |
n_src |
|
) |
| |
creates the object from the arguments passed
- Parameters
-
n | the name of the object |
n_type | the type of object |
n_src | the source of the object |
◆ getRenameSql()
abstract softlist< auto > SqlUtil::AbstractFunction::getRenameSql |
( |
string |
new_name, |
|
|
*hash< auto > |
opt |
|
) |
| |
|
pure virtual |
returns a list of strings that can be used to rename the function in the database
- Parameters
-
new_name | the new name of the object |
opt | drop options (if supported by the driver and object) |