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:
@@ -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
|
||||
|
Reference in New Issue
Block a user