1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-03 06:12:53 +02:00

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

removed `background` from Mongodb snippet.
This commit is contained in:
Deepak Mardi
2024-05-10 02:59:32 +05:30
committed by GitHub
parent dfa91cd085
commit ec31ad339e

View File

@@ -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