Triggers + EntityLog

This commit is contained in:
2021-04-08 18:29:47 +02:00
parent 140f428491
commit 43d9a65def
20 changed files with 741 additions and 334 deletions

View File

@@ -13,9 +13,9 @@ class Truncate extends Query {
$this->tableName = $name;
}
public function execute(): bool {
return $this->sql->executeTruncate($this);
}
public function getTable(): string { return $this->tableName; }
public function build(array &$params, Query $context = NULL): ?string {
return "TRUNCATE " . $this->sql->tableName($this->getTable());
}
}