Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
4.0.10
-
None
-
Windows
-
ALL
Description
MongoDB server version: 4.0.10
> db.createCollection("service-test-42_1-DocDetailsType")
|
{ "ok" : 1 }
|
> show collections
|
service-test-42_1-DocDetailsType
|
> db.service-test-42_1-DocDetailsType.drop()
|
2019-07-23T13:41:39.939+0300 E QUERY [js] SyntaxError: identifier starts immediately after numeric literal @(shell):1:16
|
May be linked with https://jira.mongodb.org/browse/SERVER-445
Workaround:
> db.getCollection("service-test-42_1-DocDetailsType").drop()
|
true
|
Attachments
Issue Links
- duplicates
-
SERVER-445 Can't reference collection names beginning with an underscore in the mongo shell
-
- Closed
-