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

Support Type Conversions in aggregation

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.19.0
    • None
    • LINQ3
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

    Description

      The task is to support generating pipelines containing type conversion operators like the general purpose $convert and the type specific $toXyz operators in:

      1. PipelineStageDefinitionBuilder.Project
      2. LINQ Select expressions

      Simple type conversions can be expressed as C# cast expressions. 

      It remains to be seen how conversions with options (see $convert onError and on Null arguments) might be expressed as C# expressions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: