Add supression of SqlInjectionChecker.

Signed-off-by: Ole Ostergaard <ole.c.ostergaard@gmail.com>
This commit is contained in:
Ole Ostergaard 2019-02-26 14:08:39 +01:00
parent c9b6487393
commit d62da82bf9
2 changed files with 6 additions and 0 deletions

View file

@ -127,6 +127,9 @@ class Adapter {
}
}
/*
* @suppress SqlInjectionChecker
*/
public function insertIgnoreConflict($table, $input) : int {
try {
$builder = $this->conn->getQueryBuilder();

View file

@ -36,6 +36,9 @@ class AdapterPgSql extends Adapter {
return $statement;
}
/*
* @suppress SqlInjectionChecker
*/
public function insertIgnoreConflict($table, $input) : int {
$builder = $this->conn->getQueryBuilder();
$builder->insert($table)