Helper to read a command result, with error handling.
import reactivemongo.api.commands.Resync import reactivemongo.api.commands.bson.BSONResyncImplicits._ db.runCommand(Resync)
import reactivemongo.api.commands.ServerStatus import reactivemongo.api.commands.bson.BSONServerStatusImplicits._ db.runCommand(ServerStatus)
(Since version 0.12.0) Use BSONDropCollectionImplicits