- A lot of bugfixes, mainly with escaping (still working on it to get 100% coverage)
This commit is contained in:
1 parent
e3d0e45a4e
commit
3905047111
8 files changed
+91
-126
No files matched your search
@@ -119,7 +119,7 @@ class QueryBuilder implements Query\QueryBuilderInterface
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function set(array $dataset) : self
|
||||
public function set(array $dataset, ? array $escapedFields = null) : self
|
||||
{
|
||||
|
||||
if ( null === ( $set = $this->getFragment(Query\Set::class) ) ) {
|
||||
@@ -127,7 +127,7 @@ class QueryBuilder implements Query\QueryBuilderInterface
|
||||
$this->push($set);
|
||||
}
|
||||
|
||||
$set->set($dataset);
|
||||
$set->set($dataset, $escapedFields);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user