[SERVER-13791] Cannot access collection 2001_ABC Created: 30/Apr/14 Updated: 03/Jul/17 Resolved: 30/Apr/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Avi Levy | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Mongo.exe and importutility are being run on windows 64. |
||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | Create a text file with sample json objects. Connect to the instance with mongo.exe You should see 2001_ABC in the list. in mongo.exe do: |
||||||||
| Participants: | |||||||||
| Description |
|
I cant access/delete a collection through the client (mongo.exe). I can see the collection when doing 'show collections'. |
| Comments |
| Comment by Avi Levy [ 30/Apr/14 ] | |||
|
Thanks for the reply! | |||
| Comment by Scott Hernandez (Inactive) [ 30/Apr/14 ] | |||
|
In javascript variable/function names must start with a letter, so that form is invalid, and generates an error in the javascript parser. To access the collection in javascript you must use one of these forms:
|