[SERVER-9790] DBRef string representation should include $db Created: 28/May/13 Updated: 18/Apr/16 Resolved: 06/Jun/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 2.7.2 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Stephen Lee | Assignee: | Stephen Lee |
| Resolution: | Done | Votes: | 2 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
The string representation of DBRef only shows the $ref and $id but not the $db. This could lead to confusion if the DBRef references a different database.
|
| Comments |
| Comment by Githook User [ 19/Jul/14 ] | ||||||||||
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: | ||||||||||
| Comment by Githook User [ 06/Jun/14 ] | ||||||||||
|
Author: {u'username': u'sl33nyc', u'name': u'Stephen Lee', u'email': u'stephen.lee@10gen.com'}Message: Signed-off-by: Benety Goh <benety@mongodb.com> | ||||||||||
| Comment by Daniel Pasette (Inactive) [ 19/Feb/14 ] | ||||||||||
|
Will need to also fix the fetch() method on the DBRef object as it doesn't take into account the $db argument.
Would also want to change the exposed functions to include $db and getDb()
|