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

$all support for Linq #7

Open
oliverw opened this issue May 9, 2011 · 7 comments
Open

$all support for Linq #7

oliverw opened this issue May 9, 2011 · 7 comments
Labels

Comments

@oliverw
Copy link

oliverw commented May 9, 2011

It would be nice if $all would be supported using Linq.

@craiggwilson
Copy link
Owner

I began to implement this feature but after getting into it, figured out that this type of query isn't supported by mongodb. In other words, there is no way to accomplish this.

Do you have any ideas on how it can be implemented?

@oliverw
Copy link
Author

oliverw commented May 9, 2011

@craiggwilson
Copy link
Owner

Yeah, I thought so. That doesn't translate into the "All" linq method. In fact, I don't think it translates into a linq method at all. How do you propose this be supported?

@oliverw
Copy link
Author

oliverw commented May 9, 2011

Hehe but I wasn't referring the Linq All() method but functionality equivalent to what the MongoDb $all operator does :)

@craiggwilson
Copy link
Owner

Yeah, I got that after you answered.

Still, my question remains, what syntax would you like to support this type of query? I don't think there are any built-in operators that do this.

@oliverw
Copy link
Author

oliverw commented May 9, 2011

I'm no expert in writing Linq Providers. Couldn't that go into an extension method in a driver specific class?

@craiggwilson
Copy link
Owner

Ok, so you're asking for this in a way that would translate to other linq providers. I'll mark this as a feature request.

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