Skip to content

Improve EagerFetching Related Data #22

@rotexdegba

Description

@rotexdegba

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'
  ]
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    nice-to-haveFeatures or enhancements that are not pressing but nice to have

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions