Skip to content

Commit 5fd2905

Browse files
authored
MONGOSH-319: fix for db.getCollection.help() (#285)
1 parent 22f7705 commit 5fd2905

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/i18n/src/locales/en_US.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -792,9 +792,9 @@ const translations = {
792792
example: 'db.getSiblingDB(name)'
793793
},
794794
getCollection: {
795-
link: 'https://docs.mongodb.com/manual/reference/method/db.dropDatabase',
796-
description: 'Removes the current database, deleting the associated data files.',
797-
example: 'db.dropDatabase()'
795+
link: 'https://docs.mongodb.com/manual/reference/method/db.getCollection',
796+
description: 'Returns a collection or a view object that is functionally equivalent to using the db.<collectionName>.',
797+
example: 'db.getCollection(name)'
798798
},
799799
getMongo: {
800800
link: 'https://docs.mongodb.com/manual/reference/method/db.getMongo/',

0 commit comments

Comments
 (0)