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

Support Select() from the MartenQueryable() ???? #51

Closed
jeremydmiller opened this issue Oct 28, 2015 · 2 comments
Closed

Support Select() from the MartenQueryable() ???? #51

jeremydmiller opened this issue Oct 28, 2015 · 2 comments
Labels
Milestone

Comments

@jeremydmiller
Copy link
Member

If you do session.Query().Where(blah blah blah).Select(x => x.Something) it goes pear shaped. You have to do an intermediate ToArray() or ToList() in between.

Think about this and see if anyone really wants projections directly over the top of the document tables. Might temporarily have it fetch and deserialize, then do the projection in memory. Because you know that no one would kill their perf by using that naively.

@jeremydmiller jeremydmiller added MVP and removed MVP labels Nov 10, 2015
@jeremydmiller jeremydmiller modified the milestone: v0.9 Mar 8, 2016
@ekulakov
Copy link
Contributor

IMO it's nice to have. But I vote for true projection (in DB) or no projection at all.

@jeremydmiller
Copy link
Member Author

@ekulakov It will happen in the database. I'm not too far away from having this done. I've got some of the obvious use cases working locally now.

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

No branches or pull requests

2 participants