Open diogocavilha opened 7 years ago
that problem is affecting everybody. i don't know why the maintainers seem to ignore such a severe bug, i couldn't build almost any of the queries i needed, and those were very basic ones -.-
anyway i'll post my workaround:
src/Manipulation/ColumnQuery.php
public function end()
{
return $this->select;
}
$query = $builder->select()
->setTable('user')
->setColumns(['user_id','name','email'])
->end();
it should work now.
@sctt Great!
Thanks ever so much.
Maybe should be change like this:
public function setColumns(array $columns) { $this->columns = $columns;
return $this->select;
}
but I found another bug : leftJoin not work.
Great this post was helpful @diogocavilha @sctt
Hi, I'm following the docs in order to test the package and I've got that exception:
The same code as in the docs... here
By the way, I'm using
php 7.1
.