I\'ve tried
db.users.remove(*)
Although it returns an error so how do I go about clearing all records?
db.users.count() db.users.remove({}) db.users.count()