Hi,
I have a strange behaviuor with Phalcon result set. i am using version 2.0. I have a table called user with primary key _id defined as BIGINT, name as varchar, status as INT. When i query
<?php
$user = User::findFirt();
var_dump($user->toArray());
array(3) {
["_id"]=>
string(1) "2"
["name"]=>
string(5) "admin"
["status"]=>
string(1) "1"
}
The expected result is _id & status is integer.
Appreciate help. Thanks in advance.