temp fix update with func

This commit is contained in:
evgen-d 2014-09-30 14:51:35 +04:00
parent 2a93a79516
commit d9d4cc4c7b

View File

@ -576,7 +576,7 @@ class Query extends Component implements QueryInterface
protected function buildUpdate($collection, $columns)
{
return 'UPDATE ' . $collection . ' WITH '
. Json::encode($columns) . ' IN '
. (is_array($columns) ? Json::encode($columns) : $columns) . ' IN '
. $this->quoteCollectionName($collection);
}