You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm following the docs in order to test the package and I've got that exception:
TypeError: Argument 1 passed to NilPortugues\Sql\QueryBuilder\Builder\GenericBuilder::write() must implement interface NilPortugues\Sql\QueryBuilder\Manipulation\QueryInterface, instance of NilPortugues\Sql\QueryBuilder\Manipulation\ColumnQuery given, called in /www/operand_api_vuejs/public/index.php on line 33 in /www/operand_api_vuejs/vendor/nilportugues/sql-query-builder/src/Builder/GenericBuilder.php on line 216
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 -.-
Activity
sctt commentedon Oct 9, 2017
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.phpit should work now.
diogocavilha commentedon Oct 9, 2017
@sctt Great!
Thanks ever so much.
aviggngyv commentedon Oct 27, 2017
Maybe should be change like this:
public function setColumns(array $columns)
{
$this->columns = $columns;
but I found another bug : leftJoin not work.
marcus-hiles commentedon Mar 29, 2019
Great this post was helpful @diogocavilha @sctt