[CSHARP-601] Linq to Aggregation Framework Created: 11/Oct/12 Updated: 20/Jan/16 Resolved: 22/Apr/15 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Linq |
| Affects Version/s: | 1.6.1 |
| Fix Version/s: | 2.1 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Craig Wilson | Assignee: | Craig Wilson |
| Resolution: | Done | Votes: | 43 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Epic Link: | Rewrite Linq | ||||||||||||||||||||||||||||||||||||||||
| Description |
|
Add in support for creating agg framework pipelines from linq. |
| Comments |
| Comment by Githook User [ 23/Apr/15 ] |
|
Author: {u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}Message: |
| Comment by Githook User [ 22/Apr/15 ] |
|
Author: {u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}Message: |
| Comment by Githook User [ 22/Apr/15 ] |
|
Author: {u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |
| Comment by Jason Singleton [ 29/Jan/15 ] |
|
I will use your source releases for now then instead of the packages. I will let you know if I have any issues Thanks for the info pete going to use the 2.0 for now. |
| Comment by Pete Smith [ 29/Jan/15 ] |
|
@craiggwilson No worries! I sent you some info about it on 27th Oct too which may be kicking around in your emails still. |
| Comment by Craig Wilson [ 29/Jan/15 ] |
|
roysvork I didn't even know you did this. I need to pay more attention to github notifications. jsingleton We have beta1 out and were planning on releasing beta2 on Friday. Final/stable release will be within a month or 2. We'd love feedback and bug finding help, so any working with the betas would be awesome. Alternatively, you could use our build feed (https://www.myget.org/gallery/mongodb) MongoDB.Driver-Build and get the latest as we push them and they pass CI. |
| Comment by Jason Singleton [ 29/Jan/15 ] |
|
Thanks for the quick reply and that syntax is a lot more friendly I will go with that for now. Any eta on 2.0 stable? |
| Comment by Pete Smith [ 29/Jan/15 ] |
|
@jsingleton Depending on how you feel about this, you could use the branch I made this pull request from: https://github.com/craiggwilson/mongo-csharp-driver/pull/1. It has some pivotal fixes to unfinished functionality from craigs branch. A client of mine is using this branch in production with no major issues, although they do have a fairly narrow use case. I would be happy to provide examples of the usage patterns for you. |
| Comment by Craig Wilson [ 29/Jan/15 ] |
|
Yes. This linq rewrite isn't going to make it into our 2.0 release and is pushed back to 2.1. However, there is quite a bit of work enabling you to work with expression trees in the new API. You can see an example of this here:https://groups.google.com/forum/?pli=1#!topic/mongodb-user/Lw64viphhsA. (He's found a bug, but just for the idea). If you are comfortable using method syntax, this is a good replacement in the mean time. |
| Comment by Jason Singleton [ 29/Jan/15 ] |
|
Is the branch above still the latest to experiment with this from? |
| Comment by Craig Wilson [ 17/Sep/14 ] |
|
You can use this I think: https://github.com/craiggwilson/mongo-csharp-driver/tree/linq It is the most up-to-date, but still pretty old (a few months) and hasn't been code-reviewed or fully completed, but all current tests pass. It's also way behind master right now. |
| Comment by Pete Smith [ 17/Sep/14 ] |
|
Hey folks, just wondering if there is a nightly build or particular commit that we could experiment with this from? Thanks! |