diff --git a/lib/private/DB/Adapter.php b/lib/private/DB/Adapter.php index 139b782859..a9c20c735e 100644 --- a/lib/private/DB/Adapter.php +++ b/lib/private/DB/Adapter.php @@ -127,6 +127,9 @@ class Adapter { } } + /* + * @suppress SqlInjectionChecker + */ public function insertIgnoreConflict($table, $input) : int { try { $builder = $this->conn->getQueryBuilder(); diff --git a/lib/private/DB/AdapterPgSql.php b/lib/private/DB/AdapterPgSql.php index 86f2fe2e38..de4fca3ebf 100644 --- a/lib/private/DB/AdapterPgSql.php +++ b/lib/private/DB/AdapterPgSql.php @@ -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)