From f238af98467ba9833d5826ceeae9214e9df631fb Mon Sep 17 00:00:00 2001 From: Gagik Amaryan Date: Fri, 11 Oct 2024 16:54:14 +0200 Subject: [PATCH] fix(i18n): Fix incorrect createView.help MONGOSH-1867 (#2215) db.createView.help() was returning createCollection instead of createView --- packages/i18n/src/locales/en_US.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/i18n/src/locales/en_US.ts b/packages/i18n/src/locales/en_US.ts index 125abb16f..0da1ae248 100644 --- a/packages/i18n/src/locales/en_US.ts +++ b/packages/i18n/src/locales/en_US.ts @@ -1271,7 +1271,7 @@ const translations: Catalog = { createView: { link: 'https://docs.mongodb.com/manual/reference/method/db.createView/', description: 'Create new view', - example: "db.createCollection('viewName', 'source', [])", + example: "db.createView('viewName', 'source', [])", }, createUser: { link: 'https://docs.mongodb.com/manual/reference/method/db.createUser',