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
I think the problem is that you override the numRows function in your PdoSqlsrv Result Class and ommit the "select count(*)..." that phalcon do, but I'm not sure.
Hello,
I'm using your adapter class sucessfully but I have a bug when reading de recordount of the Resulset
Making a simple test (provided by phalcon documentation)
$robots = Robots::find();
print_r($robots->count());
Return -1 but the resultset have 3 records
I think the problem is that you override the numRows function in your PdoSqlsrv Result Class and ommit the "select count(*)..." that phalcon do, but I'm not sure.
Here is a var_dump of the robots object:
Thanks!!
The text was updated successfully, but these errors were encountered: