[DOCS-4611] $ can't be in a database name Created: 05/Jan/15  Updated: 13/Nov/23  Resolved: 20/Feb/15

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.18, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Bug Priority: Minor - P4
Reporter: Spencer Jackson Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 8 years, 51 weeks, 5 days ago

 Description   

http://docs.mongodb.org/manual/reference/limits/ does not clearly document that $ can't be in a database name.

For example:

> use $dsf
switched to db $dsf
> db.col.insert({})
WriteResult({
"nInserted" : 0,
"writeError" :

{ "code" : 17320, "errmsg" : "cannot do createCollection on namespace with a $ in it: $dsf.col" }

})



 Comments   
Comment by Githook User [ 20/Feb/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-4611 database name restriction
Branch: master
https://github.com/mongodb/docs/commit/2e324a49e53e315104a3257de7900af9ced69a2c

Comment by Githook User [ 20/Feb/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-4611 database name restriction
Branch: v2.6
https://github.com/mongodb/docs/commit/dcc218001a9e6291eb2c4627dc968153b7d9cc59

Generated at Thu Feb 08 07:48:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.