Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added EagerResultset; Added {alias}_eager property #7

Open
wants to merge 3 commits into
base: php-5.3
Choose a base branch
from

Conversation

josefguenther
Copy link

Changes on 5.3 branch ONLY. Consider porting to master.

Added EagerResultset to help identify and work with result array; now adds {alias}_eager property on models to help determine if results were eager loaded (without triggering a magic fetch)

… adds {alias}_eager property on models to help determine if results were eager loaded (without triggering a magic fetch)
… adds {alias}_eager property on models to help determine if results were eager loaded (without triggering a magic fetch)
@dvmedvedev
Copy link

Resultset needed in any case.

@Surt
Copy link
Contributor

Surt commented Apr 6, 2017

@josefguenther I was triying to do the opposite, to check in model if relationship was loaded, without calling the lazy loading. But there is no luck that way.

phalcon/incubator#754

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants