mongo: added drop()

pull/9/head
Igor Chubin 6 years ago
parent 927a32dc1f
commit b50a079657

@ -39,3 +39,6 @@ db.books.remove({"category" :"Fiction"})
// Delete all documents in a collection
db.books.remove({})
// Drop a collection
db.books.drop()

Loading…
Cancel
Save