Add supression of SqlInjectionChecker.
Signed-off-by: Ole Ostergaard <ole.c.ostergaard@gmail.com>
This commit is contained in:
parent
c9b6487393
commit
d62da82bf9
2 changed files with 6 additions and 0 deletions
|
@ -127,6 +127,9 @@ class Adapter {
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* @suppress SqlInjectionChecker
|
||||
*/
|
||||
public function insertIgnoreConflict($table, $input) : int {
|
||||
try {
|
||||
$builder = $this->conn->getQueryBuilder();
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue