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

Come up with a concept for dealing with specifics for Query Source #805

Open
einari opened this issue Apr 13, 2017 · 0 comments
Open

Come up with a concept for dealing with specifics for Query Source #805

einari opened this issue Apr 13, 2017 · 0 comments

Comments

@einari
Copy link
Contributor

einari commented Apr 13, 2017

Today we have a system based on providing the capability of metadata related to things like paging. We call this QueryProviders. This should probably be called more specific what it actually does; provide the metadata hook for querying. The QueryProvider is linked to the return type of the IQueryFor<> implementation.

The query source, e.g. SQL, DocumentDB, Mongo or similar should have a hook into this providing capabilities like tell wether or not paging is possible. Another aspect is then streaming rather than paging (see #804).

The case is basically that you might want to use IQueryable as your return type, but the actual source has not necessarily support for all scenarios that the QueryProvider today assumes is there. We've also seen that there are differences in how something like paging is implemented per source - this was evident when implementing support for Oracle; we couldn't do a .Skip().Take() out of the box - but had to add something specific.

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

No branches or pull requests

1 participant