0 votes
in MongoDB by
Which command can be used to check the size of a collection named posts?

A - db.posts.stats()

B - db.posts.findStats()

C - db.posts.find({stats:1})

D - db.stats({ collection : posts })

1 Answer

0 votes
by

Ans is A

A - db.posts.stats()

Related questions

0 votes
asked Jun 17, 2020 in MongoDB by AdilsonLima
0 votes
asked Jun 17, 2020 in MongoDB by AdilsonLima
...