From e0d48d996778df1ceeb5f9e8edf2cefff3e95ee0 Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Mon, 9 Dec 2024 11:35:58 -0500 Subject: [PATCH 1/2] DOCSP-35833: New LINQ methods --- source/fundamentals/linq.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/fundamentals/linq.txt b/source/fundamentals/linq.txt index 0bdcd04c..611973ea 100644 --- a/source/fundamentals/linq.txt +++ b/source/fundamentals/linq.txt @@ -805,6 +805,9 @@ The following are some methods supported by the {+driver-long+} implementation o * - ``Distinct`` - Returns distinct documents that match the specified criteria + + * - ``Exists`` + - Tests whether a field exists * - ``First`` - Returns the first matching document, and throws an exception if none are found @@ -818,6 +821,12 @@ The following are some methods supported by the {+driver-long+} implementation o * - ``GroupJoin`` - Performs a left outer join to another collection in the same database + * - ``IsMissing`` + - Tests whether a field is missing + + * - ``IsNullOrMissing`` + - Tests whether a field is null or missing + * - ``Max`` - Returns the document with the maximum specified value From 736763a17c0ce88f4f0f6e09f1a04a9f04af6ffe Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Mon, 9 Dec 2024 16:20:48 -0500 Subject: [PATCH 2/2] MR feedback --- source/fundamentals/linq.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/fundamentals/linq.txt b/source/fundamentals/linq.txt index 611973ea..3d1e9304 100644 --- a/source/fundamentals/linq.txt +++ b/source/fundamentals/linq.txt @@ -822,10 +822,10 @@ The following are some methods supported by the {+driver-long+} implementation o - Performs a left outer join to another collection in the same database * - ``IsMissing`` - - Tests whether a field is missing + - Returns ``true`` if a field is missing and false otherwies * - ``IsNullOrMissing`` - - Tests whether a field is null or missing + - Returns ``true`` if a field is null or missing and false otherwise * - ``Max`` - Returns the document with the maximum specified value