Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2800

Using Pipelines in MongoQueryable

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Linq
    • None

    Description

      Hi,

      I have a aggregate pipeline that is built through various means, but then gives me an IAsyncCursor<T>.

      I would then like to make the results from the IQuerable to apply Odata / LINQ to this.

       

      Whats the best way of achieving this:

      1) Create PipelineDefinition<T,U>

      2) Apply pipleline definition to Collection

      3) ** Now do AsQuereable on the result of the Agreate pipline apply, not to the collection.

      Thanks,

      Ross

      Attachments

        Activity

          People

            vincent.kam@mongodb.com Vincent Kam (Inactive)
            rbugginsvia Ross Buggins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: