From ec31ad339e88e2cd3e342c8c432f675b7867ba81 Mon Sep 17 00:00:00 2001 From: Deepak Mardi Date: Fri, 10 May 2024 02:59:32 +0530 Subject: [PATCH] fixes : Updated MonogDB > Collection and Methods > Validate (#5466) removed `background` from Mongodb snippet. --- .../roadmaps/mongodb/content/102-collections/106-validate.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/roadmaps/mongodb/content/102-collections/106-validate.md b/src/data/roadmaps/mongodb/content/102-collections/106-validate.md index d8c759596..5c6bb9dfa 100644 --- a/src/data/roadmaps/mongodb/content/102-collections/106-validate.md +++ b/src/data/roadmaps/mongodb/content/102-collections/106-validate.md @@ -26,10 +26,10 @@ Validate a collection named "products": db.runCommand({ validate: 'products' }); ``` -Validate the collection and perform a background and full check: +Validate the collection and perform a full check: ```javascript -db.runCommand({ validate: 'products', background: true, full: true }); +db.runCommand({ validate: 'products', full: true }); ``` ## Output