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

Improve EagerFetching Related Data #22

Open
rotexdegba opened this issue Jan 5, 2023 · 0 comments
Open

Improve EagerFetching Related Data #22

rotexdegba opened this issue Jan 5, 2023 · 0 comments
Labels
nice-to-have Features or enhancements that are not pressing but nice to have

Comments

@rotexdegba
Copy link
Member

Look into allowing nested arrays for specifying related data to be eager loaded via fetch methods. Right now you can only specify a one level array of strings. Need to be able to do something like this:

E.g

fetchOneRecord(
   null,
  [
    'author',
    'summary',
    'replies' => [
        'author'
  ]
);
@rotexdegba rotexdegba added the nice-to-have Features or enhancements that are not pressing but nice to have label Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nice-to-have Features or enhancements that are not pressing but nice to have
Projects
None yet
Development

No branches or pull requests

1 participant