dropCollection |
Drops this collection from the Database. fun <T : Any> MongoDatabase.dropCollection(): Mono<Void> fun MongoDatabase.dropCollection(collectionName: String): Mono<Void> |
runCommand |
Executes the given command in the context of the current database with the given read preference. fun <TResult : Any> MongoDatabase.runCommand(command: String, readPreference: ReadPreference): Mono<TResult> fun <TResult : Any> MongoDatabase.runCommand(command: String): Mono<TResult> |