Skip to content

Commit cc84686

Browse files
Merge master into beta (#128)
* (DOCSP-3810): Compass does not support near / nearshpere Updates per Caleb's feedback * (DOCSP-3809): Added support for canonicalize host name via Kerberos * (DOCSP-4129): Minor cleanup to collections and import/export pages * (DOCSP-4315): Landing page cleanup Updates per Gilberto's feedback Updates per Gilberto's feedback pt 2 Minor cleanup * DOCSP-4338: [Compass] Call out differences in Compass editions using a feature table DOCSP-4338: [Compass] Call out differences in Compass editions using a feature table * (DOCSP-4338): Updated Compass main page. * (DOCSP-4572): Final updates to landing page Updates per Gilberto's feedback * Fixing typo in version note * (DOCSP-4529): 1.17 Release Notes * DOCSP-4618: Note that $slice operator doesn't work for projection (#123) * (DOCSP-4618): Changed ToC depth, created Limitations section * (DOCSP-4618): Refactored bullets in limitations section * (DOCSP-4618) Deleted the old text * (DOCSP-4618) Review edits * (DOCSP-4618): Reworded for active voice * (DOCSP-4618): CHange 'fields' to 'options' * Merge beta into master for v1.17 (#125) * (DOCSP-3810): Compass does not support near / nearshpere Updates per Caleb's feedback * (DOCSP-3809): Added support for canonicalize host name via Kerberos * (DOCSP-4129): Minor cleanup to collections and import/export pages * (DOCSP-4315): Landing page cleanup Updates per Gilberto's feedback Updates per Gilberto's feedback pt 2 Minor cleanup * DOCSP-4338: [Compass] Call out differences in Compass editions using a feature table DOCSP-4338: [Compass] Call out differences in Compass editions using a feature table * (DOCSP-4338): Updated Compass main page. * (DOCSP-4572): Final updates to landing page Updates per Gilberto's feedback * Fixing typo in version note * (DOCSP-4529): 1.17 Release Notes * Query-bar page cleanup (#127)
1 parent 86fe876 commit cc84686

File tree

1 file changed

+15
-26
lines changed

1 file changed

+15
-26
lines changed

source/query-bar.txt

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Query Bar
99
.. contents:: On this page
1010
:local:
1111
:backlinks: none
12-
:depth: 1
12+
:depth: 2
1313
:class: singlecol
1414

1515
From the :ref:`Documents <compass-documents>`, :ref:`Schema
@@ -114,23 +114,6 @@ shell mode representation of the MongoDB Extended JSON `BSON data types
114114
<https://en.wikipedia.org/wiki/Lexicographical_order>`_,
115115
instead of comparing the values chronologically.
116116

117-
Filter by ObjectID
118-
``````````````````
119-
120-
To specify an `ObjectID <https://docs.mongodb.com/manual/reference/method/ObjectId/>`_ in your filter,
121-
use the format ``ObjectId('<id>')``, as in the following filter example:
122-
123-
.. code-block:: javascript
124-
125-
{ "_id": ObjectId('59a87101f17fcbfbc9cd4374') }
126-
127-
Query Bar Autocompletion
128-
````````````````````````
129-
130-
The query bar autocompletes the current query based on the keys in
131-
your collection’s documents, including keys in embedded
132-
subdocuments.
133-
134117
.. _query-bar-project:
135118

136119
Project
@@ -163,14 +146,6 @@ projection document:
163146
All fields except for the fields specified in the project document
164147
are returned.
165148

166-
.. note::
167-
168-
With the exception of the ``_id`` field, you cannot specify both
169-
field inclusion and field exclusion in the project document. With
170-
the ``_id`` field, you can specify its exclusion in a project
171-
document that specifies field inclusions. For example,
172-
``{ year: 1, _id: 0 }``.
173-
174149
For more information on projection, refer to the
175150
:ref:`MongoDB Manual <find-projection>`.
176151

@@ -323,9 +298,23 @@ as favorites. To view the list of queries saved as favorites, click on
323298
.. figure:: /images/compass/query-history-favorite.png
324299
:figwidth: 316px
325300

301+
Limitations
302+
-----------
303+
304+
- The query bar options do not support the :manual:`$near
305+
</reference/operator/query/near/>` and
306+
:manual:`$nearSphere </reference/operator/query/nearSphere/>`
307+
geospatial query operators, because they do not provide any additional
308+
functionality in the :ref:`schema view <schema-tab>`.
309+
310+
- The :ref:`Project <query-bar-project>` query bar option does not
311+
support the :manual:`$slice </reference/operator/projection/slice/>`
312+
operator.
313+
326314
.. class:: hidden
327315

328316
.. toctree::
329317
:titlesonly:
330318

331319
/export-query-to-language
320+

0 commit comments

Comments
 (0)