Zend DB: Select not working with sqlsrv

For programming and general questions on Zend Framework

Zend DB: Select not working with sqlsrv

Postby stef9166 on Tue Mar 21, 2017 7:08 pm

Hello,

I have implemented the TableGateway. With sqlsrv adapter.
The implementation is probably right.
I get Entries with:
$rowset= $this->tableGateway->select(array("Personalnummer = $personalnumber"));
But if I want to get Entries with this code:
$rowset = $this->tableGateway->select(array("Personalnummer" => $personalnumber));

I get no results.
I tried to debug and found out, that
protected $prepareParams = []; (in Zend\Db\Adapter\Driver\Sqlsrv\Statement)
is always empty

Dont know, but I think theres a bug in Zend Framework 2 or any other idears?
stef9166
 
Posts: 1
Joined: Tue Mar 21, 2017 7:08 pm

Return to Zend Framework

Who is online

Users browsing this forum: Google [Bot] and 3 guests