Исправление ошибок
This commit is contained in:
parent
778513b3bb
commit
b3a5b7b51f
|
@ -947,7 +947,7 @@ class Query extends Component implements QueryInterface
|
||||||
{
|
{
|
||||||
// Инициализация
|
// Инициализация
|
||||||
$this->in ?? $this->in = $this->collection ?? throw new Exception('Не найдена коллекция');
|
$this->in ?? $this->in = $this->collection ?? throw new Exception('Не найдена коллекция');
|
||||||
$query->collection ?? $query->collection = self::checkArrayAndConvert($query->for);
|
$this->collection ?? $this->collection = self::checkArrayAndConvert($this->for);
|
||||||
|
|
||||||
$data = Serializer::encode($columns);
|
$data = Serializer::encode($columns);
|
||||||
|
|
||||||
|
@ -994,7 +994,7 @@ class Query extends Component implements QueryInterface
|
||||||
// Инициализация
|
// Инициализация
|
||||||
$this->in ?? $this->in = $this->collection ?? throw new Exception('Не найдена коллекция');
|
$this->in ?? $this->in = $this->collection ?? throw new Exception('Не найдена коллекция');
|
||||||
$this->for ?? $this->for = $this->in;
|
$this->for ?? $this->for = $this->in;
|
||||||
$query->collection ?? $query->collection = self::checkArrayAndConvert($query->for);
|
$this->collection ?? $this->collection = self::checkArrayAndConvert($this->for);
|
||||||
|
|
||||||
$clauses = [
|
$clauses = [
|
||||||
static::genFor($this->for),
|
static::genFor($this->for),
|
||||||
|
@ -1046,7 +1046,7 @@ class Query extends Component implements QueryInterface
|
||||||
// Инициализация
|
// Инициализация
|
||||||
$this->in ?? $this->in = $this->collection ?? throw new Exception('Не найдена коллекция');
|
$this->in ?? $this->in = $this->collection ?? throw new Exception('Не найдена коллекция');
|
||||||
$this->for ?? $this->for = $this->in;
|
$this->for ?? $this->for = $this->in;
|
||||||
$query->collection ?? $query->collection = self::checkArrayAndConvert($query->for);
|
$this->collection ?? $this->collection = self::checkArrayAndConvert($this->for);
|
||||||
|
|
||||||
$clauses = [
|
$clauses = [
|
||||||
static::genFor($this->for),
|
static::genFor($this->for),
|
||||||
|
|
Loading…
Reference in New Issue