Skip to content

Commit ff57fa1

Browse files
authored
Docsp-30873: clarifying filters on builders pg (#112)
# Pull Request Info [PR Reviewing Guidelines](https://github.com/mongodb/docs-java/blob/master/REVIEWING.md) [JIRA](https://jira.mongodb.org/browse/DOCSP-30873) [Staging ](https://docs-mongodbcom-staging.corp.mongodb.com/kotlin/docsworker-xlarge/DOCSP-30873-Clarifying-Filters-on-Builders-pg/fundamentals/builders/filters/) ## Self-Review Checklist - [x] Is this free of any warnings or errors in the RST? - [x] Did you run a spell-check? - [x] Did you run a grammar-check? - [x] Are all the links working? There was a suggestion to remove filter usage example, but I think it improves understanding for someone new to filters. Very open to suggestions however! Also my change might be a bit redundant but again I think it makes it clearer for someone who might not understand the jargon.
1 parent 30cadf0 commit ff57fa1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

source/fundamentals/builders/filters.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ Builders are classes provided by the MongoDB Kotlin driver that help you
2020
construct :ref:`BSON <bson>` objects. To learn more, see our :doc:`guide
2121
on builders </fundamentals/builders/>`.
2222

23-
Filters are the operations MongoDB uses to limit your results to what
24-
you want to see.
23+
Filters are operations used to limit the results of a query based on
24+
specified conditions. Filters are a helpful tool to locate
25+
information that matches search conditions in a collection.
2526

2627
You can use filters in the following places:
2728

@@ -32,9 +33,9 @@ You can use filters in the following places:
3233

3334
Some examples of results from queries with filters are:
3435

35-
- Items that cost $0 to $25
36-
- A hotel with amenities that include an indoor swimming pool and free parking
37-
- A food critic review that mentions "spicy"
36+
- Items that cost more than $0 but less than $25.
37+
- Foods that are both gluten-free and less than 500 calories.
38+
- A food critic review that mentions "spicy".
3839

3940
This guide shows you how to use builders with examples of the following
4041
types of operators:

0 commit comments

Comments
 (0)