diff --git a/mirzaev/yii2/arangodb/Query.php b/mirzaev/yii2/arangodb/Query.php index 1be4619..972e4ef 100644 --- a/mirzaev/yii2/arangodb/Query.php +++ b/mirzaev/yii2/arangodb/Query.php @@ -947,7 +947,7 @@ class Query extends Component implements QueryInterface { // Инициализация $this->in ?? $this->in = $this->collection ?? throw new Exception('Не найдена коллекция'); - $this->collection ?? $this->collection = self::checkArrayAndConvert($this->for); + $this->collection ?? $this->collection = $this->in; $data = Serializer::encode($columns);