Skip to content

Commit 55deb20

Browse files
committed
wip
1 parent 3f2c2ae commit 55deb20

File tree

1 file changed

+15
-27
lines changed

1 file changed

+15
-27
lines changed

source/crud/query/specify-query.txt

Lines changed: 15 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ You can narrow the set of matched documents returned by your query by creating a
1919
**query filter**. A query filter is an expression that specifies the documents you
2020
want to match in a read, update, or delete operation.
2121

22-
.. note:: Using LINQ
23-
24-
This guide shows how to specify queries using query filters. You can also
25-
specify queries using LINQ. To learn more about using LINQ, see
26-
:ref:`csharp-linq`.
27-
2822
The examples in this guide use the following documents in a collection called
2923
``guitars``:
3024

@@ -241,12 +235,24 @@ field. The following is a list of builder methods that use array operators:
241235
- Description
242236

243237
* - ``All()``
244-
- Matches documents if the array field contains all elements specified in
238+
- Matches documents where the array field contains all elements specified in
245239
the query.
246240

247-
* - ``Any()``
248-
- Matches documents if any element in the array field matches the specified
241+
* - ``AnyEq()``
242+
- Matches documents where any element in the array field matches the specified
243+
query filter.
244+
245+
* - ``AnyGt()``
246+
- Matches documents where any element in the array field is greater than the specified
249247
query filter.
248+
249+
* - ``AnyGte()``
250+
- Matches documents where any element in the array field is greater than or equal to
251+
the specified query filter.
252+
253+
* - ``AnyIn()``
254+
- Matches documents where any element in the array field is greater than or equal to
255+
the specified query filter.
250256

251257
* - ``Size()``
252258
- Matches documents if the array field is a specified size.
@@ -346,24 +352,6 @@ To learn how to specify queries using LINQ, see :ref:`csharp-linq`.
346352

347353
.. TODO: integrate into existing page
348354

349-
Sample Class
350-
------------
351-
352-
The code examples in this guide demonstrate how you can use builders to
353-
create types to interact with documents in the sample collection ``plants.flowers``.
354-
Documents in this collection are modeled by the following ``Flower`` class:
355-
356-
.. literalinclude:: /includes/fundamentals/code-examples/builders.cs
357-
:language: csharp
358-
:dedent:
359-
:start-after: start-model
360-
:end-before: end-model
361-
362-
Each builder class takes a generic type parameter
363-
``TDocument`` which represents the type of document that you are working
364-
with. In this guide, the ``Flower`` class is the document type used in
365-
each builder class example.
366-
367355
Construct a Filter
368356
------------------
369357

0 commit comments

Comments
 (0)