SqlTriggers
class SqlTriggers
Class SqlTriggers
Methods
rebuild(string $tableName = NULL, bool $force = FALSE)
Build a list of triggers via hook and add them to (err, reconcile them with) the database.
createTriggers(array $info, string $onlyTableName = NULL)
No description
dropTriggers(string $tableName = NULL)
Wrapper function to drop triggers.
enqueueQuery(string $triggerSQL, array $params = [])
Enqueue a query which alters triggers.
NULL|string
getFile()
No description
Details
at line 55
rebuild(string $tableName = NULL, bool $force = FALSE)
Build a list of triggers via hook and add them to (err, reconcile them with) the database.
at line 79
createTriggers(array $info, string $onlyTableName = NULL)
at line 183
dropTriggers(string $tableName = NULL)
Wrapper function to drop triggers.
at line 204
enqueueQuery(string $triggerSQL, array $params = [])
Enqueue a query which alters triggers.
As this requires a high permission level we funnel the queries through here to facilitate them being taken 'offline'.