Skip to content

Commit f238af9

Browse files
authored
fix(i18n): Fix incorrect createView.help MONGOSH-1867 (#2215)
db.createView.help() was returning createCollection instead of createView
1 parent 249fd54 commit f238af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/i18n/src/locales/en_US.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@ const translations: Catalog = {
12711271
createView: {
12721272
link: 'https://docs.mongodb.com/manual/reference/method/db.createView/',
12731273
description: 'Create new view',
1274-
example: "db.createCollection('viewName', 'source', [])",
1274+
example: "db.createView('viewName', 'source', [])",
12751275
},
12761276
createUser: {
12771277
link: 'https://docs.mongodb.com/manual/reference/method/db.createUser',

0 commit comments

Comments
 (0)