Allow users to generate a hash from a UTF-8 string or binary data

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.8.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Hide

      Summary of necessary driver changes

      •  

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      •  

      Context for other referenced/linked tickets

      •  
      Show
      Summary of necessary driver changes   Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)   Context for other referenced/linked tickets  
    • None
    • Fully Compatible
    • Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      New methods was added: Mql.Hash and Mql.HexHash which are translated as $hash and $hexHash operators.

      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      Code examples could be found at https://github.com/mongodb/mongo-csharp-driver/blob/main/tests/MongoDB.Driver.Tests/Linq/Integration/MqlHashTests.cs

      3. Which versions of the driver/connector does this apply to?
      Driver min version: 3.8.0, MongoDB server min version: 8.3.0

      Show
      1. What would you like to communicate to the user about this feature? New methods was added: Mql.Hash and Mql.HexHash which are translated as $hash and $hexHash operators. 2. Would you like the user to see examples of the syntax and/or executable code and its output? Code examples could be found at https://github.com/mongodb/mongo-csharp-driver/blob/main/tests/MongoDB.Driver.Tests/Linq/Integration/MqlHashTests.cs 3. Which versions of the driver/connector does this apply to? Driver min version: 3.8.0, MongoDB server min version: 8.3.0
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket was split from DRIVERS-3359, please see that ticket for a detailed description.

            Assignee:
            Oleksandr Poliakov
            Reporter:
            TPM Jira Automations Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: