Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4303

EncryptOpts queryType should accept a string consistent with queryType in encryptedFields

    • 1
    • Hide

      DRIVERS-2352:

      Bindings Changes

      Upgrade to libmongocrypt 1.5.0-rc2. Binaries can be downloaded from the upload-all task.

      Bindings in the libmongocrypt repository were updated in MONGOCRYPT-414. Drivers with bindings outside of the libmongocrypt repo will need to update bindings code.

      Replace calls of mongocrypt_ctx_setopt_index_type with mongocrypt_ctx_setopt_algorithm.

      Update calls of mongocrypt_ctx_setopt_query_type to use the string "equality".

      Driver Changes

      Change EncryptOpts.QueryType from an enum to a string. See the specification change here: https://github.com/mongodb/specifications/commit/cb58ded938146fcbce2b04a91d09f72d66832603.

      See the C driver changes for reference: https://github.com/mongodb/mongo-c-driver/commit/fe2bae72bc733515d766a46a8799783667396590

      Show
      DRIVERS-2352 : Bindings Changes Upgrade to libmongocrypt 1.5.0-rc2. Binaries can be downloaded from the upload-all task . Bindings in the libmongocrypt repository were updated in MONGOCRYPT-414. Drivers with bindings outside of the libmongocrypt repo will need to update bindings code. Replace calls of mongocrypt_ctx_setopt_index_type with mongocrypt_ctx_setopt_algorithm . Update calls of mongocrypt_ctx_setopt_query_type to use the string "equality". Driver Changes Change EncryptOpts.QueryType from an enum to a string. See the specification change here: https://github.com/mongodb/specifications/commit/cb58ded938146fcbce2b04a91d09f72d66832603 . See the C driver changes for reference: https://github.com/mongodb/mongo-c-driver/commit/fe2bae72bc733515d766a46a8799783667396590
    • Not Needed

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

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            dbeng-pm-bot PM Bot
            Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: