Qore SqlUtil Module Reference  1.7.5
SqlUtil::AbstractTrigger Class Referenceabstract

the base class for triggers More...

Inheritance diagram for SqlUtil::AbstractTrigger:

Public Member Methods

 constructor (string n, string n_src)
 creates the object and sets its name and the trigger source
 
abstract list< auto > getCreateSql (string table_name, *hash< auto > opt)
 returns a string that can be used to create the trigger in the database
 
abstract list< auto > getDropSql (string table_name)
 returns a string that can be used to drop the trigger in the database
 
abstract softlist< auto > getRenameSql (string table_name, string new_name)
 returns a string that can be used to rename the trigger in the database
 
- Public Member Methods inherited from SqlUtil::AbstractFunctionBase
 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
 

Additional Inherited Members

- Public Attributes inherited from SqlUtil::AbstractFunctionBase
string name
 the name of the object
 
string src
 the source of the object
 
string type
 the type of object
 
- Private Member Methods inherited from SqlUtil::AbstractFunctionBase
abstract bool equalImpl (AbstractFunctionBase t)
 returns True if the argument is equal to the current object, False if not
 

Detailed Description

the base class for triggers