Skip to content

Commit daa822f

Browse files
mongoKartnvillahermosa-mdbjason-price-mongodbChris Chojordan-smith721
authored
Mongosh text updates (#3406)
* Docsp 28305 qe on disk format wire protocol (#3244) * Cleaned feature branch * Internal PR feedback * Fixed lingering merge text * External review: removed write amplification for delete operations * Remove insertmany from QE restricted operations (#3251) * One line fix * Removed wording around future release functionality for index compaction. Left key creation language because there's a separate ticket for that content. * Light editorial cleanup, removed refs to technical preview * Attempted to clean up wording around unique index limitations * Attempted to clarify limitation around validation settings * PR feedback * Syntax fix * Updated migration guidance * Revert "Remove insertmany from QE restricted operations (#3251)" (#3296) This reverts commit f1377c73483ceed9744d4d48647b56295706dcdc. * Docsp 29188 remove insertmany from restricted (#3300) * One line fix * Removed wording around future release functionality for index compaction. Left key creation language because there's a separate ticket for that content. * Light editorial cleanup, removed refs to technical preview * Attempted to clean up wording around unique index limitations * Attempted to clarify limitation around validation settings * PR feedback * Syntax fix * Docsp 30055 qe public preview ga migration guidance (#3280) * Updated QE GA constant * QE constant update, external feedback * PR feedback * PR feedback * PR feedback * Docsp 30646 how qe works cleanup (#3333) * Removed framework term * Clarified the inclusion of __safeContent__ applies to queryable fields only * PR feedback * Docsp 28249 qe redaction (#3291) * Rebase to latest state of qe-equality-ga * Cleaned up old :doc: directives * Removed self reference links * Cleaned up old version references * Spellcheck * Build cleanup * Changed collstats redaction per SERVER-75266 * Changed collstats redaction per SERVER-75266--amend * Moved log redaction to the existing redaction heading * Moved log redaction to the existing redaction heading--amend * Moved log redaction to the existing redaction heading--amend * PR feedback * Cleanup from qe-equality-ga branch diversion * PR feedback * Copy edit, passive voice/future * Added shortdesc to limitations * Shortdesc and editorial cleanup * Rebase cleanup * Internal review feedback * External PR feedback * Docsp 28385 auto encryption keys (#3330) * Removed manual key creation from limitations * First look readthrough rebuild * Reorganization rebuild * Reviewing current tutorial content * Self review * Internal review feedback and merge * Internal PR feedback * Rebuild commit * External review feedback * External release notes feedback (#3361) * DOCSP-30671: libmongocrypt mention and updated driver version compatibility * update anchor * fix wording * updated pymongocrypt version * updated versions * csharp version * Fle sample app refactor (#3397) * add java tutorial source only * maven pom.xml for java build * update object property passing * add vm options * update variables per sync meeting * Java tutorial naming updates * c# updates * c# updates * fix indents * update testing instructions * python - naming updates * go tutorial - naming updates * start/end tags and readme * Go tutorial: added comment labels * python include tags and readme * add kms placeholder * add envrc_template * update README * rename project * start/end tags * remove extra method * clean up * Delete QueryableEncryption.csproj * Go tutorial: add readme, sample environment template small updates * remove whitespace * fix label * Java tutorial: add labels * refactored to add auto dek * c# key auto generation * refactored tutorial template * js feedback * python auto-key * python replace main script * python tutorial fix * java tutorial auto key creation * create/find first draft * first draft tutorial text * typo * Go tutorial updates for auto key creation * Python tutorial cleanup * remove encryptedFieldsMap * tutorial text feedback * Add CMK step, fix errors, add Azure tutorial * admonition for persisting keyId * keyId admonition edits * cc feedback * c# cleanup * fix compile error * move return statements * add project and fix README * updates to admonition * PRR fixes to admonition * cc feedback * PRR fixes for PyMongo tutorial * remove insert client from PyMongo tutorial * apply changes to azure page * envrc updates for PyMongo tutorial * apply changes to gcp page * PRR fix for PyMongo tutorial: check insert result * apply changes to kmip page * adds refactored mongosh sample app * fixes mongosh kmip issue * Java tutorial dotenv and README updates * Java README, add dotenv to deps * update variable names per code review * code review suggestions * Golang tutorial updates and various README updates * fix encrypted fields map * fix kms * start adding language tabs * PRR review fixes for Java tutorial * add comment in Python tutorial * PRR fixes for Golang tutorial * fix for relocated files * c# edits * go edits * java edits * python edits * add tabs for all languages * fix go merge conflict * fix go merge conflict * update node variable names per code review * remove insert client * update README files * provide more detail in the README * adds package.json to mongosh and updates README * removes package.json * bd c# feedback * fix merge error * README updates for Java and Python, requirements update for Python * bd c# feedback * Java and Golang README updates * envrc fixes * node readme fix * updates to READMEs * fix link to keys and key vaults * go tutorial fix placeholder * fix copypasta * fix driver tab ids * encryptionCollectionName -> encryptedCollectionName and encryptionDatabaseName -> encryptedDatabaseName * checks for existing master-key.txt before generating new file * checks value of acknowledged field on insert results * updates README * remove create insert client step * no need to specify shared lib in mongosh * clean up * tutorial fixes * code fixes for tutorial * Go fix comment structure * Python code: update placeholder comments * mongosh updates * Bailey feedback and requested changes * updated code comments to prevent confusion about placeholders * mongosh - updated code comments to prevent confusion about placeholders * fix driver tabs for nodejs and java-sync * small aws fixes * azure tutorial * fix language literalinclude references * azure tutorial * gcp tutorial * path updates * do not install mongosh via homebrew for QE * fix java paths aws * tabid fix for java-sync * tabid fix for nodejs * Update README.md * do not install mongosh via homebrew for QE * tabid and indentation fixes * direnv install * remove data * removes master-key * removes .envrc * change insert-patient-document -> insert-document * snippet fixes * literalinclude fixes * fix tabids and include paths * fix references * kmip tutorial + code changes * update go version * shell placeholder text * fix includes references * shell placeholder text azure * shell placeholder text gcp * shell placeholder text kmip * quick start draft * Java KMIP update * quick start fixes * quick start fixes * kmip include comment fix * Clarify Java KMIP certificates and TLS options * fix go code * update ref tags * more ref tags + Learn More sections * rename tutorials and quick start * fix go code * fix python comment * update text * update import * Java envrc_template fix * link to README in Quickstart * quick-start fixes + automatic encryption wording * reformat cmk from command line * automatic encryption wording * formatting * formatting * golang -> go * Go kmip comment name fix * refactor branch logic * add data models to aws tutorial * java tutorial - updates for quickstart * fix c# data models * python tutorial - fix comment boundaries * add C# data models + fix includes * python - show kms_provider_credentials * auto > automatic * add placeholder * update java dependencies to latest * update READMEs to include mention of release candidate * bd c# feedback * move c# data models * update kmsProviders variable * link to readmes in environment variables admonition * re-adding deleted method * java kmip add link * tutorial fixes * move start and end comments for kmsProviders * mongosh fixes * mongosh kmsProviderCredentials variable * mongosh updates * add go models to tutorials and quick start * go syntax highlight * spacing * add shell tab * bd c# feedback * kmip fixes * gcp fix * go - fix comment boundaries * remove mongosh * fix build error * staging build * remove duplicates --------- Co-authored-by: Jordan Smith <[email protected]> Co-authored-by: Mike Woofter <[email protected]> Co-authored-by: Mike Woofter <[email protected]> Co-authored-by: Joseph Dougherty <[email protected]> Co-authored-by: jmd-mongo <[email protected]> * add mongosh * fix build errors * Docsp 28305 qe on disk format wire protocol (#3244) * Cleaned feature branch * Internal PR feedback * Fixed lingering merge text * External review: removed write amplification for delete operations * Remove insertmany from QE restricted operations (#3251) * One line fix * Removed wording around future release functionality for index compaction. Left key creation language because there's a separate ticket for that content. * Light editorial cleanup, removed refs to technical preview * Attempted to clean up wording around unique index limitations * Attempted to clarify limitation around validation settings * PR feedback * Syntax fix * Updated migration guidance * Revert "Remove insertmany from QE restricted operations (#3251)" (#3296) This reverts commit f1377c73483ceed9744d4d48647b56295706dcdc. * Docsp 29188 remove insertmany from restricted (#3300) * One line fix * Removed wording around future release functionality for index compaction. Left key creation language because there's a separate ticket for that content. * Light editorial cleanup, removed refs to technical preview * Attempted to clean up wording around unique index limitations * Attempted to clarify limitation around validation settings * PR feedback * Syntax fix * Docsp 30055 qe public preview ga migration guidance (#3280) * Updated QE GA constant * QE constant update, external feedback * PR feedback * PR feedback * PR feedback * Docsp 30646 how qe works cleanup (#3333) * Removed framework term * Clarified the inclusion of __safeContent__ applies to queryable fields only * PR feedback * Docsp 28249 qe redaction (#3291) * Rebase to latest state of qe-equality-ga * Cleaned up old :doc: directives * Removed self reference links * Cleaned up old version references * Spellcheck * Build cleanup * Changed collstats redaction per SERVER-75266 * Changed collstats redaction per SERVER-75266--amend * Moved log redaction to the existing redaction heading * Moved log redaction to the existing redaction heading--amend * Moved log redaction to the existing redaction heading--amend * PR feedback * Cleanup from qe-equality-ga branch diversion * PR feedback * Copy edit, passive voice/future * Added shortdesc to limitations * Shortdesc and editorial cleanup * Rebase cleanup * Internal review feedback * External PR feedback * Docsp 28385 auto encryption keys (#3330) * Removed manual key creation from limitations * First look readthrough rebuild * Reorganization rebuild * Reviewing current tutorial content * Self review * Internal review feedback and merge * Internal PR feedback * Rebuild commit * External review feedback * External release notes feedback (#3361) * DOCSP-30671: libmongocrypt mention and updated driver version compatibility * update anchor * fix wording * updated pymongocrypt version * updated versions * csharp version * Fle sample app refactor (#3397) * add java tutorial source only * maven pom.xml for java build * update object property passing * add vm options * update variables per sync meeting * Java tutorial naming updates * c# updates * c# updates * fix indents * update testing instructions * python - naming updates * go tutorial - naming updates * start/end tags and readme * Go tutorial: added comment labels * python include tags and readme * add kms placeholder * add envrc_template * update README * rename project * start/end tags * remove extra method * clean up * Delete QueryableEncryption.csproj * Go tutorial: add readme, sample environment template small updates * remove whitespace * fix label * Java tutorial: add labels * refactored to add auto dek * c# key auto generation * refactored tutorial template * js feedback * python auto-key * python replace main script * python tutorial fix * java tutorial auto key creation * create/find first draft * first draft tutorial text * typo * Go tutorial updates for auto key creation * Python tutorial cleanup * remove encryptedFieldsMap * tutorial text feedback * Add CMK step, fix errors, add Azure tutorial * admonition for persisting keyId * keyId admonition edits * cc feedback * c# cleanup * fix compile error * move return statements * add project and fix README * updates to admonition * PRR fixes to admonition * cc feedback * PRR fixes for PyMongo tutorial * remove insert client from PyMongo tutorial * apply changes to azure page * envrc updates for PyMongo tutorial * apply changes to gcp page * PRR fix for PyMongo tutorial: check insert result * apply changes to kmip page * adds refactored mongosh sample app * fixes mongosh kmip issue * Java tutorial dotenv and README updates * Java README, add dotenv to deps * update variable names per code review * code review suggestions * Golang tutorial updates and various README updates * fix encrypted fields map * fix kms * start adding language tabs * PRR review fixes for Java tutorial * add comment in Python tutorial * PRR fixes for Golang tutorial * fix for relocated files * c# edits * go edits * java edits * python edits * add tabs for all languages * fix go merge conflict * fix go merge conflict * update node variable names per code review * remove insert client * update README files * provide more detail in the README * adds package.json to mongosh and updates README * removes package.json * bd c# feedback * fix merge error * README updates for Java and Python, requirements update for Python * bd c# feedback * Java and Golang README updates * envrc fixes * node readme fix * updates to READMEs * fix link to keys and key vaults * go tutorial fix placeholder * fix copypasta * fix driver tab ids * encryptionCollectionName -> encryptedCollectionName and encryptionDatabaseName -> encryptedDatabaseName * checks for existing master-key.txt before generating new file * checks value of acknowledged field on insert results * updates README * remove create insert client step * no need to specify shared lib in mongosh * clean up * tutorial fixes * code fixes for tutorial * Go fix comment structure * Python code: update placeholder comments * mongosh updates * Bailey feedback and requested changes * updated code comments to prevent confusion about placeholders * mongosh - updated code comments to prevent confusion about placeholders * fix driver tabs for nodejs and java-sync * small aws fixes * azure tutorial * fix language literalinclude references * azure tutorial * gcp tutorial * path updates * do not install mongosh via homebrew for QE * fix java paths aws * tabid fix for java-sync * tabid fix for nodejs * Update README.md * do not install mongosh via homebrew for QE * tabid and indentation fixes * direnv install * remove data * removes master-key * removes .envrc * change insert-patient-document -> insert-document * snippet fixes * literalinclude fixes * fix tabids and include paths * fix references * kmip tutorial + code changes * update go version * shell placeholder text * fix includes references * shell placeholder text azure * shell placeholder text gcp * shell placeholder text kmip * quick start draft * Java KMIP update * quick start fixes * quick start fixes * kmip include comment fix * Clarify Java KMIP certificates and TLS options * fix go code * update ref tags * more ref tags + Learn More sections * rename tutorials and quick start * fix go code * fix python comment * update text * update import * Java envrc_template fix * link to README in Quickstart * quick-start fixes + automatic encryption wording * reformat cmk from command line * automatic encryption wording * formatting * formatting * golang -> go * Go kmip comment name fix * refactor branch logic * add data models to aws tutorial * java tutorial - updates for quickstart * fix c# data models * python tutorial - fix comment boundaries * add C# data models + fix includes * python - show kms_provider_credentials * auto > automatic * add placeholder * update java dependencies to latest * update READMEs to include mention of release candidate * bd c# feedback * move c# data models * update kmsProviders variable * link to readmes in environment variables admonition * re-adding deleted method * java kmip add link * tutorial fixes * move start and end comments for kmsProviders * mongosh fixes * mongosh kmsProviderCredentials variable * mongosh updates * add go models to tutorials and quick start * go syntax highlight * spacing * add shell tab * bd c# feedback * kmip fixes * gcp fix * go - fix comment boundaries * remove mongosh * fix build error * staging build * remove duplicates --------- Co-authored-by: Jordan Smith <[email protected]> Co-authored-by: Mike Woofter <[email protected]> Co-authored-by: Mike Woofter <[email protected]> Co-authored-by: Joseph Dougherty <[email protected]> Co-authored-by: jmd-mongo <[email protected]> * add mongosh * fix build errors * fix log-messages * fix log-messages * fix server files * remove mongosh code * use new code samples * mongosh tutorial directives * compat fixes --------- Co-authored-by: Nick Villahermosa <[email protected]> Co-authored-by: jason-price-mongodb <[email protected]> Co-authored-by: Chris Cho <[email protected]> Co-authored-by: Jordan Smith <[email protected]> Co-authored-by: Joseph Dougherty <[email protected]> Co-authored-by: jmd-mongo <[email protected]>
1 parent 1e10bd1 commit daa822f

File tree

11 files changed

+746
-191
lines changed

11 files changed

+746
-191
lines changed

source/core/queryable-encryption/quick-start.txt

Lines changed: 138 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ Before You Get Started
4141

4242
.. tabs::
4343

44+
.. tab:: mongosh
45+
:tabid: shell
46+
47+
`Complete mongosh Application <{+sample-app-url-qe+}/mongosh/>`__
48+
4449
.. tab:: Node.js
4550
:tabid: nodejs
4651

@@ -83,6 +88,35 @@ Procedure
8388

8489
.. tabs-drivers::
8590

91+
.. tab::
92+
:tabid: shell
93+
94+
- **kmsProviderName** - The KMS you're using to store your {+cmk-long+}.
95+
Set this variable to ``"local"`` for this tutorial.
96+
- **uri** - Your MongoDB deployment connection URI. Set your connection
97+
URI in the ``MONGODB_URI`` environment variable or replace the value
98+
directly.
99+
- **keyVaultDatabaseName** - The database in MongoDB where your data
100+
encryption keys (DEKs) will be stored. Set this variable
101+
to ``"encryption"``.
102+
- **keyVaultCollectionName** - The collection in MongoDB where your DEKs
103+
will be stored. Set this variable to ``"__keyVault"``.
104+
- **keyVaultNamespace** - The namespace in MongoDB where your DEKs will
105+
be stored. Set this variable to the values of the ``keyVaultDatabaseName``
106+
and ``keyVaultCollectionName`` variables, separated by a period.
107+
- **encryptedDatabaseName** - The database in MongoDB where your encrypted
108+
data will be stored. Set this variable to ``"medicalRecords"``.
109+
- **encryptedCollectionName** - The collection in MongoDB where your encrypted
110+
data will be stored. Set this variable to ``"patients"``.
111+
112+
You can declare these variables by using the following code:
113+
114+
.. literalinclude:: /includes/qe-tutorials/mongosh/queryable-encryption-tutorial.js
115+
:start-after: // start-setup-application-variables
116+
:end-before: // end-setup-application-variables
117+
:language: javascript
118+
:dedent:
119+
86120
.. tab::
87121
:tabid: nodejs
88122

@@ -255,6 +289,15 @@ Procedure
255289

256290
.. tabs-drivers::
257291

292+
.. tab::
293+
:tabid: shell
294+
295+
.. literalinclude:: /includes/qe-tutorials/mongosh/queryable-encryption-helpers.js
296+
:start-after: start-generate-local-key
297+
:end-before: end-generate-local-key
298+
:language: javascript
299+
:dedent:
300+
258301
.. tab::
259302
:tabid: nodejs
260303

@@ -319,6 +362,15 @@ Procedure
319362

320363
.. tabs-drivers::
321364

365+
.. tab::
366+
:tabid: shell
367+
368+
.. literalinclude:: /includes/qe-tutorials/mongosh/queryable-encryption-helpers.js
369+
:start-after: start-get-local-key
370+
:end-before: end-get-local-key
371+
:language: javascript
372+
:dedent:
373+
322374
.. tab::
323375
:tabid: nodejs
324376

@@ -372,6 +424,18 @@ Procedure
372424

373425
.. tabs-drivers::
374426

427+
.. tab::
428+
:tabid: shell
429+
430+
- The variable containing your Local KMS credentials
431+
- The namespace of your {+key-vault-long+}
432+
433+
.. literalinclude:: /includes/qe-tutorials/mongosh/queryable-encryption-helpers.js
434+
:start-after: // start-auto-encryption-options
435+
:end-before: // end-auto-encryption-options
436+
:language: javascript
437+
:dedent:
438+
375439
.. tab::
376440
:tabid: nodejs
377441

@@ -447,6 +511,15 @@ Procedure
447511

448512
.. tabs-drivers::
449513

514+
.. tab::
515+
:tabid: shell
516+
517+
.. literalinclude:: /includes/qe-tutorials/mongosh/queryable-encryption-tutorial.js
518+
:start-after: // start-create-client
519+
:end-before: // end-create-client
520+
:language: javascript
521+
:dedent:
522+
450523
.. tab::
451524
:tabid: nodejs
452525

@@ -502,6 +575,15 @@ Procedure
502575

503576
.. tabs-drivers::
504577

578+
.. tab::
579+
:tabid: shell
580+
581+
.. literalinclude:: /includes/qe-tutorials/mongosh/queryable-encryption-tutorial.js
582+
:start-after: // start-encrypted-fields-map
583+
:end-before: // end-encrypted-fields-map
584+
:language: javascript
585+
:dedent:
586+
505587
.. tab::
506588
:tabid: nodejs
507589

@@ -555,13 +637,22 @@ Procedure
555637

556638
.. step:: Create the Collection
557639

640+
Instantiate ``ClientEncryption`` to access the API for the
641+
encryption helper methods.
642+
558643
.. tabs-drivers::
559644

560645
.. tab::
561-
:tabid: nodejs
646+
:tabid: shell
562647

563-
Instantiate ``ClientEncryption`` to access the API for the
564-
encryption helper methods.
648+
.. literalinclude:: /includes/qe-tutorials/mongosh/queryable-encryption-tutorial.js
649+
:start-after: // start-client-encryption
650+
:end-before: // end-client-encryption
651+
:language: javascript
652+
:dedent:
653+
654+
.. tab::
655+
:tabid: nodejs
565656

566657
.. literalinclude:: /includes/qe-tutorials/node/queryable-encryption-helpers.js
567658
:start-after: // start-client-encryption
@@ -572,9 +663,6 @@ Procedure
572663
.. tab::
573664
:tabid: python
574665

575-
Instantiate ``ClientEncryption`` to access the API for the
576-
encryption helper methods.
577-
578666
.. literalinclude:: /includes/qe-tutorials/python/queryable_encryption_helpers.py
579667
:start-after: # start-client-encryption
580668
:end-before: # end-client-encryption
@@ -584,9 +672,6 @@ Procedure
584672
.. tab::
585673
:tabid: java-sync
586674

587-
Instantiate ``ClientEncryption`` to access the API for the
588-
encryption helper methods.
589-
590675
.. literalinclude:: /includes/qe-tutorials/java/src/main/java/com/mongodb/tutorials/qe/QueryableEncryptionTutorial.java
591676
:start-after: // start-client-encryption
592677
:end-before: // end-client-encryption
@@ -596,9 +681,6 @@ Procedure
596681
.. tab::
597682
:tabid: go
598683

599-
Instantiate ``ClientEncryption`` to access the API for the
600-
encryption helper methods.
601-
602684
.. literalinclude:: /includes/qe-tutorials/go/queryable_encryption_helpers.go
603685
:start-after: // start-client-encryption
604686
:end-before: // end-client-encryption
@@ -608,9 +690,6 @@ Procedure
608690
.. tab::
609691
:tabid: csharp
610692

611-
Instantiate ``ClientEncryption`` to access the API for the
612-
encryption helper methods.
613-
614693
.. literalinclude:: /includes/qe-tutorials/csharp/QueryableEncryptionHelpers.cs
615694
:start-after: // start-client-encryption
616695
:end-before: // end-client-encryption
@@ -624,6 +703,15 @@ Procedure
624703

625704
.. tabs-drivers::
626705

706+
.. tab::
707+
:tabid: shell
708+
709+
.. literalinclude:: /includes/qe-tutorials/mongosh/queryable-encryption-helpers.js
710+
:start-after: start-kmip-local-cmk-credentials
711+
:end-before: end-kmip-local-cmk-credentials
712+
:language: javascript
713+
:dedent:
714+
627715
.. tab::
628716
:tabid: nodejs
629717

@@ -671,6 +759,20 @@ Procedure
671759

672760
.. tabs-drivers::
673761

762+
.. tab::
763+
:tabid: shell
764+
765+
Create your encrypted collection by using the encryption
766+
helper method accessed through the ``ClientEncryption`` class.
767+
This method automatically generates data encryption keys for your
768+
encrypted fields and creates the encrypted collection:
769+
770+
.. literalinclude:: /includes/qe-tutorials/mongosh/queryable-encryption-tutorial.js
771+
:start-after: // start-create-encrypted-collection
772+
:end-before: // end-create-encrypted-collection
773+
:language: javascript
774+
:dedent:
775+
674776
.. tab::
675777
:tabid: nodejs
676778

@@ -760,8 +862,8 @@ Procedure
760862
After you've added these classes, create your encrypted
761863
collection by using the encryption helper method accessed
762864
through the ``ClientEncryption`` class.
763-
This method automatically generates data encryption keys for
764-
your encrypted fields and creates the encrypted collection:
865+
This method automatically generates data encryption keys for your
866+
encrypted fields and creates the encrypted collection:
765867

766868
.. literalinclude:: /includes/qe-tutorials/go/queryable_encryption_tutorial.go
767869
:start-after: // start-create-encrypted-collection
@@ -779,7 +881,7 @@ Procedure
779881
:tabid: csharp
780882

781883
The C# version of this tutorial uses separate classes as data models
782-
when creating the encrypted collection.
884+
to represent the document structure.
783885
Add the following ``Patient``, ``PatientRecord``, and ``PatientBilling``
784886
classes to your project:
785887

@@ -827,6 +929,15 @@ Procedure
827929

828930
.. tabs-drivers::
829931

932+
.. tab::
933+
:tabid: shell
934+
935+
.. literalinclude:: /includes/qe-tutorials/mongosh/queryable-encryption-tutorial.js
936+
:start-after: // start-insert-document
937+
:end-before: // end-insert-document
938+
:language: javascript
939+
:dedent:
940+
830941
.. tab::
831942
:tabid: nodejs
832943

@@ -879,6 +990,15 @@ Procedure
879990

880991
.. tabs-drivers::
881992

993+
.. tab::
994+
:tabid: shell
995+
996+
.. literalinclude:: /includes/qe-tutorials/mongosh/queryable-encryption-tutorial.js
997+
:start-after: // start-find-document
998+
:end-before: // end-find-document
999+
:language: javascript
1000+
:dedent:
1001+
8821002
.. tab::
8831003
:tabid: nodejs
8841004

source/core/queryable-encryption/reference/compatibility.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ compatible MongoDB drivers:
6060
* - :driver:`Ruby </ruby>` version ``2.19`` or later.
6161
- `libmongocrypt-helper <https://rubygems.org/gems/libmongocrypt-helper/>`__ version ``1.8.0`` or later
6262

63-
* - :driver:`Ruby </rust>` version ``2.6.0`` or later.
63+
* - :driver:`Rust </rust>` version ``2.6.0`` or later.
6464
- :ref:`libmongocrypt <qe-reference-libmongocrypt>` version ``1.8.0`` or later
6565

0 commit comments

Comments
 (0)