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

Support Type Conversions in aggregation

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.19.0
    • Affects Version/s: None
    • Component/s: LINQ3
    • Labels:
    • 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?

      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.

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

              Created:
              Updated:
              Resolved: