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

Cloning IFindFluent & IAggregateFluent

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Gone away
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • None

    Description

      Hi there

      We currently have the issue that i somehow need to clone IFindFluent and IAggregateFluent.

       

      We do have a query builder that operates on these two abstraction. The query builder adds different steps to the query object. 
      Additionally to the query execution, we would like to fetch the totalCount of the FindFluent/AggregateFluent that was passed to the query builder.

       

      Looking through the Sourcecode it seems that this currently can only be done with `Project`.  But this feels a lot like a hack  

      Is there another way of cloning these objects? could a Clone method be added? 

      Attachments

        Activity

          People

            boris.dogadov@mongodb.com Boris Dogadov
            pascal@chillicream.com Pascal Senn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: