Teach $convert to output BSON documents

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It would be useful, in tandem with planned hashing functionality, to be able to transform arbitrary objects in aggregation to their BSON representation.

      It would work something like this:

      { $convert: {
          input: { foo: "bar" },
          to: "binData",
          format: "bson",
      }}
      

            Assignee:
            Katya Kamenieva
            Reporter:
            Felipe Gasper
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: