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

array with attributes to fetch #35

Open
andrescellini opened this issue Nov 15, 2017 · 0 comments
Open

array with attributes to fetch #35

andrescellini opened this issue Nov 15, 2017 · 0 comments

Comments

@andrescellini
Copy link

Hi, really nice little package.

What about a new options to be specific of what are you fetching from the model. Maybe even when i am trying to get something from a relationship eager load that by default. Some feature like this can make querys in big tables easier to read and consume less bandwith.

Something like this...

get[
"id",
"description"
"role.name"
]

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

No branches or pull requests

1 participant