-
Notifications
You must be signed in to change notification settings - Fork 1.7k
DOCS-1852: update reference-operators page #1258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 7 additions & 3 deletions
10
...es/ref-toc-operator-query-javascript.yaml → ...es/ref-toc-operator-query-evaluation.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
name: ":operator:`$where`" | ||
file: /reference/operator/where | ||
description: "Matches documents that satisfy a JavaScript expression." | ||
name: ":operator:`$mod`" | ||
file: /reference/operator/mod | ||
description: "Performs a modulo operation on the value of a field and selects documents with a specified result." | ||
--- | ||
name: ":operator:`$regex`" | ||
file: /reference/operator/regex | ||
description: "Selects documents where values match a specified regular expression." | ||
--- | ||
name: ":operator:`$where`" | ||
file: /reference/operator/where | ||
description: "Matches documents that satisfy a JavaScript expression." | ||
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
file: /reference/operator-query | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these files should be in the operator folder using nav- file names. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fancy! done. |
||
description: | | ||
Query operators provide ways to locate data within the database and | ||
projection operators modify how data is presented. | ||
--- | ||
file: /reference/operator-update | ||
description: | | ||
Update operators are operators that enable you to modify the data in | ||
your database or add additional data. | ||
--- | ||
file: /reference/operator-meta-query | ||
description: | | ||
Query modifiers determine the way that queries will be executed. | ||
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,206 +1,13 @@ | ||
====================================== | ||
Query, Update and Projection Operators | ||
====================================== | ||
========= | ||
Operators | ||
========= | ||
|
||
.. default-domain:: mongodb | ||
|
||
.. contents:: | ||
:backlinks: none | ||
:local: | ||
|
||
.. _query-selectors: | ||
|
||
Query Selectors | ||
--------------- | ||
|
||
Comparison | ||
~~~~~~~~~~ | ||
|
||
.. only:: website | ||
|
||
.. include:: /includes/table-operator-query-comparison.rst | ||
|
||
.. class:: hidden | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/reference/operator/query-comparison | ||
|
||
Logical | ||
~~~~~~~ | ||
|
||
.. only:: website | ||
|
||
.. include:: /includes/table-operator-query-logical.rst | ||
|
||
.. class:: hidden | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/reference/operator/query-logical | ||
|
||
Element | ||
~~~~~~~ | ||
|
||
.. only:: website | ||
|
||
.. include:: /includes/table-operator-query-element.rst | ||
|
||
.. class:: hidden | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/reference/operator/query-element | ||
|
||
JavaScript | ||
~~~~~~~~~~ | ||
|
||
.. only:: website | ||
|
||
.. include:: /includes/table-operator-query-javascript.rst | ||
|
||
.. class:: hidden | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/reference/operator/query-javascript | ||
|
||
Geospatial | ||
~~~~~~~~~~ | ||
|
||
.. only:: website | ||
|
||
.. include:: /includes/table-operator-query-geospatial.rst | ||
|
||
.. class:: hidden | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/reference/operator/query-geospatial | ||
|
||
Array | ||
~~~~~ | ||
|
||
.. only:: website | ||
|
||
.. include:: /includes/table-operator-query-array.rst | ||
|
||
.. class:: hidden | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/reference/operator/query-array | ||
|
||
.. _update-operators: | ||
|
||
Update Operators | ||
---------------- | ||
|
||
Fields | ||
~~~~~~ | ||
|
||
.. only:: website | ||
|
||
.. include:: /includes/table-operator-update-field.rst | ||
|
||
.. class:: hidden | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/reference/operator/update-field | ||
|
||
Array | ||
~~~~~ | ||
|
||
.. only:: website | ||
|
||
Operators | ||
````````` | ||
|
||
.. include:: /includes/table-operator-update-array.rst | ||
|
||
Modifiers | ||
````````` | ||
|
||
.. include:: /includes/table-operator-update-array-modifiers.rst | ||
|
||
.. class:: hidden | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/reference/operator/update-array | ||
|
||
Bitwise | ||
~~~~~~~ | ||
|
||
.. only:: website | ||
|
||
.. include:: /includes/table-operator-update-bitwise.rst | ||
|
||
.. class:: hidden | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/reference/operator/update-bitwise | ||
|
||
Isolation | ||
~~~~~~~~~ | ||
|
||
.. only:: website | ||
|
||
.. include:: /includes/table-operator-update-isolation.rst | ||
|
||
.. class:: hidden | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/reference/operator/update-isolation | ||
|
||
Projection Operators | ||
-------------------- | ||
|
||
.. only:: website | ||
|
||
.. include:: /includes/table-operator-projection.rst | ||
|
||
.. class:: hidden | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/reference/operator/projection | ||
|
||
|
||
Meta-Query Operators | ||
-------------------- | ||
|
||
.. only:: website | ||
|
||
Query Modifiers | ||
~~~~~~~~~~~~~~~ | ||
|
||
.. include:: /includes/table-operator-meta.rst | ||
|
||
Sort Order Specifier | ||
-------------------- | ||
|
||
.. include:: /includes/table-operator-sort-order.rst | ||
|
||
.. class:: hidden | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/reference/operator/query-modifier | ||
|
||
.. include:: /includes/dfn-list-operator-landing.rst | ||
|
||
.. include:: /includes/toc-operator-landing.rst |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
==================== | ||
Meta-Query Operators | ||
==================== | ||
|
||
.. default-domain:: mongodb | ||
|
||
.. contents:: | ||
:backlinks: none | ||
:local: | ||
|
||
.. only:: website | ||
|
||
Query Modifiers | ||
~~~~~~~~~~~~~~~ | ||
|
||
.. include:: /includes/table-operator-meta.rst | ||
|
||
Sort Order Specifier | ||
-------------------- | ||
|
||
.. include:: /includes/table-operator-sort-order.rst | ||
|
||
.. class:: hidden | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/reference/operator/query-modifier |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we probably need more redirects for the other new files...
also to actually move the file as noted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, barring htaccess confusion.