Skip to content

Commit c817560

Browse files
committed
DOCSP-46795: Update LINQ/builder FAQ (#449)
(cherry picked from commit 9236b14)
1 parent 7a19255 commit c817560

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

source/faq.txt

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,20 @@ The error message consists of multiple parts:
185185

186186
.. _csharp-faq-linq-vs-builder:
187187

188-
Should I Use LINQ or Builder Classes When Querying for Documents?
189-
-----------------------------------------------------------------
188+
Should I Use LINQ, Builder Classes, or BSON Documents When Querying for Documents?
189+
----------------------------------------------------------------------------------
190190

191191
If you're used to programming in {+language+}, consider using LINQ because of its similar feel
192192
to programming in native {+language+}. If you have prior experience with other MongoDB drivers,
193-
consider using Builder classes because of their consistency with other drivers.
194-
195-
We encourage experimenting with both approaches to determine the most suitable mechanism
196-
for your purposes.
193+
consider using builder classes because of their consistency with other drivers. BSON
194+
documents offer the most flexibility and can translate more easily to other programming
195+
languages, but are less idiomatic to {+language+} and do not check for type errors at
196+
compile time.
197+
198+
We encourage experimenting with each approach to determine the most suitable mechanism
199+
for your purposes. To learn more about visualizing LINQ and builder class queries, see the
200+
`{+analyzer+} <https://www.mongodb.com/docs/mongodb-analyzer/current/>`__. For assistance
201+
in building BSON document queries, see the :compass:`MongoDB Compass <>` documentation.
197202

198203
.. _csharp-faq-unsupported-expressions:
199204

0 commit comments

Comments
 (0)