File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ names can be any UTF-8 string with the following exceptions:
315
315
316
316
- A collection name should begin with a letter or an underscore.
317
317
318
- - The empty string ("" ) is not a valid collection name.
318
+ - The empty string (``""`` ) is not a valid collection name.
319
319
320
320
- Collection names cannot contain the ``$`` character. (version 2.2 only)
321
321
@@ -349,14 +349,6 @@ driver <>`.
349
349
db.getCollection("_foo").find()
350
350
{ "_id" : ObjectId("506dbf800f70bf70d1ca613b"), "a" : 1 }
351
351
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
-
360
352
Restrictions on Database Names for Windows
361
353
``````````````````````````````````````````
362
354
You can’t perform that action at this time.
0 commit comments