Skip to content

Commit 5fd7205

Browse files
author
Bob Grabar
committed
DOCS-564 collection names: minor edits
1 parent 9e17c92 commit 5fd7205

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

source/release-notes/2.2.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ names can be any UTF-8 string with the following exceptions:
315315

316316
- A collection name should begin with a letter or an underscore.
317317

318-
- The empty string ("") is not a valid collection name.
318+
- The empty string (``""``) is not a valid collection name.
319319

320320
- Collection names cannot contain the ``$`` character. (version 2.2 only)
321321

@@ -349,14 +349,6 @@ driver <>`.
349349
db.getCollection("_foo").find()
350350
{ "_id" : ObjectId("506dbf800f70bf70d1ca613b"), "a" : 1 }
351351

352-
If you were to query the ``_foo`` collection with dot notation, you
353-
would receive an error, as shown here:
354-
355-
.. code-block:: javascript
356-
357-
db._foo.find()
358-
Thu Oct 4 12:56:01 TypeError: db._foo has no properties (shell):1
359-
360352
Restrictions on Database Names for Windows
361353
``````````````````````````````````````````
362354

0 commit comments

Comments
 (0)