We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12fc8ef commit ab943f9Copy full SHA for ab943f9
source/whats-new.txt
@@ -143,7 +143,15 @@ The 3.0 driver release includes the following new features:
143
.. tip:: MongoClientSettings
144
145
To enable client-side projection for all queries on a client, set the
146
- ``TranslationOptions`` property of the ``MongoClientSettings`` object to ``true``.
+ ``TranslationOptions`` property of your ``MongoClientSettings`` object, as shown
147
+ in the following example:
148
+
149
+ .. code-block:: csharp
150
151
+ clientSettings.TranslationOptions = new ExpressionTranslationOptions
152
+ {
153
+ EnableClientSideProjections = true
154
+ };
155
156
To learn more about using the aggregation pipeline with the {+driver-short+}, see
157
:ref:`csharp-aggregation`.
0 commit comments