Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions source/fundamentals/builders/filters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ Builders are classes provided by the MongoDB Kotlin driver that help you
construct :ref:`BSON <bson>` objects. To learn more, see our :doc:`guide
on builders </fundamentals/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
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:

Expand All @@ -32,9 +33,9 @@ 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
- 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:
Expand Down