From 1f12a32a2be5ecaf99d44bdf4bdfdf6c40974c00 Mon Sep 17 00:00:00 2001 From: Nick LDP Date: Thu, 13 Jul 2023 14:50:52 -0400 Subject: [PATCH 1/4] DOCSP-30873: Clarifying Filters on Builders Filter page --- source/fundamentals/builders/filters.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/fundamentals/builders/filters.txt b/source/fundamentals/builders/filters.txt index 81818e85..af0b15a2 100644 --- a/source/fundamentals/builders/filters.txt +++ b/source/fundamentals/builders/filters.txt @@ -20,8 +20,9 @@ Builders are classes provided by the MongoDB Kotlin driver that help you construct :ref:`BSON ` objects. To learn more, see our :doc:`guide on builders `. -Filters are the operations MongoDB uses to limit your results to what -you want to see. +Filters are operations used to limit the results of a query based on +specific conditions. Filters are a helpful tool to locate the +information needed based on search conditions. You can use filters in the following places: From f357ea796d04cc2256141c6c44673810d6240e99 Mon Sep 17 00:00:00 2001 From: Nick LDP Date: Thu, 13 Jul 2023 14:58:47 -0400 Subject: [PATCH 2/4] example change --- source/fundamentals/builders/filters.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/fundamentals/builders/filters.txt b/source/fundamentals/builders/filters.txt index af0b15a2..a795f82b 100644 --- a/source/fundamentals/builders/filters.txt +++ b/source/fundamentals/builders/filters.txt @@ -33,8 +33,8 @@ You can use filters in the following places: Some examples of results from queries with filters are: -- Items that cost $0 to $25 -- A hotel with amenities that include an indoor swimming pool and free parking +- Items that cost more than $0 but less than $25 +- Foods that are both gluten-free and less than 500 calories - A food critic review that mentions "spicy" This guide shows you how to use builders with examples of the following From e2603796d56d98e408afa20fc85179ada4609323 Mon Sep 17 00:00:00 2001 From: Nick LDP Date: Thu, 13 Jul 2023 15:02:20 -0400 Subject: [PATCH 3/4] example change --- source/fundamentals/builders/filters.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fundamentals/builders/filters.txt b/source/fundamentals/builders/filters.txt index a795f82b..60504775 100644 --- a/source/fundamentals/builders/filters.txt +++ b/source/fundamentals/builders/filters.txt @@ -35,7 +35,7 @@ Some examples of results from queries with filters are: - Items that cost more than $0 but less than $25 - Foods that are both gluten-free and less than 500 calories -- A food critic review that mentions "spicy" +- A food critic review that mentions "spicy" This guide shows you how to use builders with examples of the following types of operators: From 03834302a49e5148aa97867775204be1ca3f1e45 Mon Sep 17 00:00:00 2001 From: Nick LDP Date: Thu, 13 Jul 2023 16:28:44 -0400 Subject: [PATCH 4/4] post review --- source/fundamentals/builders/filters.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/fundamentals/builders/filters.txt b/source/fundamentals/builders/filters.txt index 60504775..912231d8 100644 --- a/source/fundamentals/builders/filters.txt +++ b/source/fundamentals/builders/filters.txt @@ -20,9 +20,9 @@ Builders are classes provided by the MongoDB Kotlin driver that help you construct :ref:`BSON ` objects. To learn more, see our :doc:`guide on builders `. -Filters are operations used to limit the results of a query based on -specific conditions. Filters are a helpful tool to locate the -information needed based on search conditions. +Filters are operations used to limit the results of a query based on +specified conditions. Filters are a helpful tool to locate +information that matches search conditions in a collection. You can use filters in the following places: @@ -33,9 +33,9 @@ You can use filters in the following places: Some examples of results from queries with filters are: -- Items that cost more than $0 but less than $25 -- Foods that are both gluten-free and less than 500 calories -- A food critic review that mentions "spicy" +- Items that cost more than $0 but less than $25. +- Foods that are both gluten-free and less than 500 calories. +- A food critic review that mentions "spicy". This guide shows you how to use builders with examples of the following types of operators: