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
// Make the complex query$rs = $di->get('modelsManager')
->createBuilder()
->columns('*')
->from('Acme\Model\AclRole')
->join('Acme\Model\AclResource', 'ar.role_id = Acme\Model\AclRole.id', 'ar')
->join('Acme\Model\AclAction', 'aa.resource_id = ar.id', 'aa')
->getQuery()
->execute();
// Start working with \Phalcon\Mvc\Model\Rowprint_r($rs->toArray()); // Here we got notice and warning in server logs
PHP Notice: Undefined index: balias in /var/www/src/Acme/Model/AclRole.php on line 185
PHP Warning: Phalcon\Mvc\Model\Resultset\Complex::valid(): Property should be string in /var/www/src/Acme/Model/AclRole.php on line 185
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: