Skip to content

Commit 06b048a

Browse files
authored
DOCSP-44801: Client-side projection breaking v3.0 breaking change (mongodb#321)
1 parent 0d7718b commit 06b048a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source/upgrade/v3.txt

+8
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@ Version 3.0 Breaking Changes
9898

9999
- The LINQ2 provider has been removed from this version of the driver.
100100
You must use LINQ3 for all LINQ queries.
101+
102+
Queries that use client-side projections will throw an ``ExpressionNotSupportedException``
103+
error by default. To enable client-side projections, set the
104+
``EnableClientSideProjections`` property of a ``TranslationOptions`` object to
105+
``true``. You can pass this ``TranslationOptions`` object to an
106+
``AggregateOptions`` or ``FindOptions`` object to enable client-side projections
107+
for a single query, or to a ``MongoClientSettings`` object to enable client-side projections
108+
for all queries in an application.
101109

102110
- Previous versions of the {+driver-short+} supported two GUID representation modes.
103111
In version 3.0, ``GuidRepresentationMode.V3`` is the only supported mode. This change

0 commit comments

Comments
 (0)