here code from controller
$self = new UsersEmails(); $query = $self->getModelsManager()->createBuilder(); $query->from('UsersEmails'); $query->leftJoin('Users'); $query->columns('*'); $query->andWhere("email = :email:", array( 'email' => '[email protected]' )); $query->andWhere("confirmed != :confirmed:", array( 'confirmed' => 0 )); $query->limit(1);
$result = $query->getQuery()->execute()->toArray();
var_dump($result);
here start of dump: https://paste.laravel.com/18S7
i don't understand what the public property of object 'confirmed'(last column in table has same name) and why it contained all \Phalcon\Mvc\Model\Row data?