From 050ac555144000595e9a43026cf7d892f924f809 Mon Sep 17 00:00:00 2001 From: rustagir Date: Wed, 15 Jan 2025 13:22:01 -0500 Subject: [PATCH] vale fixes --- source/fundamentals/auth.txt | 2 +- source/fundamentals/builders.txt | 6 +++--- source/fundamentals/builders/aggregates.txt | 2 +- source/fundamentals/data-formats/documents.txt | 4 ++-- source/migrate-kmongo.txt | 9 +++++---- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/source/fundamentals/auth.txt b/source/fundamentals/auth.txt index a2372f76..02c41cd9 100644 --- a/source/fundamentals/auth.txt +++ b/source/fundamentals/auth.txt @@ -501,5 +501,5 @@ mechanism: :language: kotlin For additional information on configuring your application to use -certificates as well as TLS/SSL options, see our +certificates and TLS/SSL options, see our :doc:`TLS/SSL guide `. diff --git a/source/fundamentals/builders.txt b/source/fundamentals/builders.txt index c41d982f..58a68f59 100644 --- a/source/fundamentals/builders.txt +++ b/source/fundamentals/builders.txt @@ -87,9 +87,9 @@ builders in the {+driver-short+}: .. literalinclude:: /examples/generated/BuildersTest.snippet.no-builders.kt :language: kotlin -In this case, you could easily include an error when writing the -``"\$gt"`` operator in the filter, but you would see an error only at -runtime. +In this case, you might easily include an error when writing the +``"\$gt"`` operator in the filter, but your IDE returns the relevant +error only at runtime. Using Builders ~~~~~~~~~~~~~~ diff --git a/source/fundamentals/builders/aggregates.txt b/source/fundamentals/builders/aggregates.txt index 7f668291..661b2fcc 100644 --- a/source/fundamentals/builders/aggregates.txt +++ b/source/fundamentals/builders/aggregates.txt @@ -532,7 +532,7 @@ to the ``name`` field: .. literalinclude:: /examples/generated/AggregatesBuilderTest.snippet.graph-lookup.kt :language: kotlin -Using ``GraphLookupOptions``, you can specify the depth to recurse as well as +Using ``GraphLookupOptions``, you can specify the depth to recurse and the name of the depth field, if desired. In this example, ``$graphLookup`` will recurse up to two times, and create a field called ``degrees`` with the recursion depth information for every document. diff --git a/source/fundamentals/data-formats/documents.txt b/source/fundamentals/data-formats/documents.txt index c19af974..339eb475 100644 --- a/source/fundamentals/data-formats/documents.txt +++ b/source/fundamentals/data-formats/documents.txt @@ -18,8 +18,8 @@ MongoDB Kotlin driver. A MongoDB document is a data structure that contains key/value fields in binary JSON (BSON) format. You can use documents and the data they contain -in their fields to store data as well as issue commands or queries in -MongoDB. +in their fields to store data, and you can use them to issue commands or +queries in MongoDB. For more information on the terminology, structure, and limitations of documents, read our page on :manual:`Documents ` in the MongoDB manual. diff --git a/source/migrate-kmongo.txt b/source/migrate-kmongo.txt index bfd23985..c0ffe76a 100644 --- a/source/migrate-kmongo.txt +++ b/source/migrate-kmongo.txt @@ -272,9 +272,10 @@ Both drivers provide support for type-safe queries using property references. Data Typing ----------- -Both drivers support the use of {+language+} data classes as well as the ``Document`` class to -model the data stored in a MongoDB collection. The ``Document`` -class lets you model data represented in a MongoDB collection in a flexible format. +Both drivers support the use of {+language+} data classes and the +``Document`` class to model the data stored in a MongoDB collection. The +``Document`` class lets you model data represented in a MongoDB +collection in a flexible format. .. tabs:: @@ -329,7 +330,7 @@ in {+language+} to and from BSON. :tabid: {+driver-long+} You can serialize data classes in the {+driver-short+} using both automatic - data class codecs as well as the ``kotlinx.serialization`` library. The + data class codecs and the ``kotlinx.serialization`` library. The driver provides an efficient ``Bson`` serializer that handles the serialization of {+language+} objects to BSON data.