From baa92b64339bf84a940d3c78f8c1f603562db3ce Mon Sep 17 00:00:00 2001 From: Mike Woofter <108414937+mongoKart@users.noreply.github.com> Date: Wed, 30 Oct 2024 15:43:04 -0500 Subject: [PATCH] first draft --- source/whats-new.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/source/whats-new.txt b/source/whats-new.txt index c66dad0f..790b8317 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -143,7 +143,15 @@ The 3.0 driver release includes the following new features: .. tip:: MongoClientSettings To enable client-side projection for all queries on a client, set the - ``TranslationOptions`` property of the ``MongoClientSettings`` object to ``true``. + ``TranslationOptions`` property of your ``MongoClientSettings`` object, as shown + in the following example: + + .. code-block:: csharp + + clientSettings.TranslationOptions = new ExpressionTranslationOptions + { + EnableClientSideProjections = true + }; To learn more about using the aggregation pipeline with the {+driver-short+}, see :ref:`csharp-aggregation`.