drop

Drops the current database, deleting the associated data files

MongoDatabase.swift:312
func drop() async throws
  • see: https://docs.mongodb.com/manual/reference/command/dropDatabase