Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-43411

add base64 and UUID conversion functions or add BinData $convert

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Aggregation Framework
    • Query Optimization
    • QO 2022-07-25, QO 2022-08-08, QO 2022-08-22, QO 2022-09-05, QO 2022-09-19, QO 2022-10-03, QE 2022-10-17

    Description

      Since $convert doesn't work with BinData types, and there are no helper functions for binary data, nor for UUID in particular, it's very difficult to do something like converting UUID that's stored as a string to a proper BinData format.

      Example: I have string "867dee52-c331-484e-92d1-c56479b8e67e" and I want to have UUID("867dee52-c331-484e-92d1-c56479b8e67e") which is BinData(4, "hn3uUsMxSE6S0cVkebjmfg==") and there doesn't seem to be a way to do that server-side.

      Attachments

        Issue Links

          Activity

            People

              backlog-query-optimization Backlog - Query Optimization
              asya.kamsky@mongodb.com Asya Kamsky
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: