[DOCS-6190] Comment on: "manual/reference/method/db.getCollection.txt" Created: 12/Sep/15  Updated: 08/Dec/16  Resolved: 15/Jan/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Ravind Kumar (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/reference/method/db.getCollection/
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36
Referrer: https://www.google.co.uk/
Screen Resolution: 1920 x 1080
repo: docs
source: reference/method/db.getCollection


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

 Description   

It doesn't seem that this returns a collection name, as indicated. It takes a name as a parameter, and returns an object. I'm wondering if db.Hello.find() is the same as db.getCollection('Hello').find() ?



 Comments   
Comment by Githook User [ 15/Jan/16 ]

Author:

{u'username': u'rkumar-mongo', u'name': u'ravind', u'email': u'ravind.kumar@10gen.com'}

Message: DOCS-6190 : Expand db.getCollection()

Round 5:

  • Even more refinements

Round 4:

  • Further Refinements
  • Pruned examples

Round 3:

  • Refinements!

Round 2:

  • Updates from CR, general refinements

Round 1:

  • Initial commit, added fixed definition, behavior, and examples

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/567a647284bdd8c7608cbb91d3fd78aa8e4b6075

Comment by Githook User [ 15/Jan/16 ]

Author:

{u'username': u'rkumar-mongo', u'name': u'ravind', u'email': u'ravind.kumar@10gen.com'}

Message: DOCS-6190 : Expand db.getCollection()

Round 5:

  • Even more refinements

Round 4:

  • Further Refinements
  • Pruned examples

Round 3:

  • Refinements!

Round 2:

  • Updates from CR, general refinements

Round 1:

  • Initial commit, added fixed definition, behavior, and examples

Signed-off-by: kay <kay.kim@10gen.com>
Branch: v3.0
https://github.com/mongodb/docs/commit/b1580b37a9ee6350c01defc40dda16e5639843cc

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