Skip to content

Use the model->columns() method to return className as Phalcon\Mvc\ model \Row #901

Open
@sowork

Description

@sowork

Phalcon\Mvc\Model\EagerLoading\Loader::__construct() $className: Method will not get the real model class

When I use the model cloumns method to restrict query columns, instead of returning the original model class, I return a Phalcon\Mvc\model\Row, which prevents me from preloading with the with method.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions