fixes : Updated MonogDB > Collection and Methods > Validate (#5466)

removed `background` from Mongodb snippet.
pull/5633/head
Deepak Mardi 7 months ago committed by GitHub
parent dfa91cd085
commit ec31ad339e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      src/data/roadmaps/mongodb/content/102-collections/106-validate.md

@ -26,10 +26,10 @@ Validate a collection named "products":
db.runCommand({ validate: 'products' }); db.runCommand({ validate: 'products' });
``` ```
Validate the collection and perform a background and full check: Validate the collection and perform a full check:
```javascript ```javascript
db.runCommand({ validate: 'products', background: true, full: true }); db.runCommand({ validate: 'products', full: true });
``` ```
## Output ## Output

Loading…
Cancel
Save