temp fix update with func
This commit is contained in:
parent
2a93a79516
commit
d9d4cc4c7b
|
@ -576,7 +576,7 @@ class Query extends Component implements QueryInterface
|
||||||
protected function buildUpdate($collection, $columns)
|
protected function buildUpdate($collection, $columns)
|
||||||
{
|
{
|
||||||
return 'UPDATE ' . $collection . ' WITH '
|
return 'UPDATE ' . $collection . ' WITH '
|
||||||
. Json::encode($columns) . ' IN '
|
. (is_array($columns) ? Json::encode($columns) : $columns) . ' IN '
|
||||||
. $this->quoteCollectionName($collection);
|
. $this->quoteCollectionName($collection);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue