base class for views
More...
#include <SqlUtil.qm.dox.h>
|
| constructor (string n_name, string n_src) |
| creates the object from the arguments
|
|
abstract string | getCreateSql (*hash< auto > opt) |
| returns a string that can be used to create the view in the database
|
|
string | getDropSql (*hash< auto > opt) |
| returns a string that can be used to drop the view from the database More...
|
|
abstract softlist< auto > | getRenameSql (string new_name, *hash< auto > opt) |
| returns a list with command(s) that can be used to rename the view in the database More...
|
|
|
string | name |
| the name of the sequence
|
|
string | src |
| the source code
|
|
bool | updatable |
| Flag showing if is the view updatable with DML commands.
|
|
◆ getDropSql()
string SqlUtil::AbstractView::getDropSql |
( |
*hash< auto > |
opt | ) |
|
returns a string that can be used to drop the view from the database
- Parameters
-
opt | drop options (if supported by the driver and object); in this generic base class method, this argument is ignored |
◆ getRenameSql()
abstract softlist< auto > SqlUtil::AbstractView::getRenameSql |
( |
string |
new_name, |
|
|
*hash< auto > |
opt |
|
) |
| |
|
pure virtual |
returns a list with command(s) that can be used to rename the view in the database
- Parameters
-
new_name | the new name of the object |
opt | drop options (if supported by the driver and object) |