destroy static method

void destroy(
  1. String filePath,
  2. Options options
)

Destroy the contents of the specified database. Be very careful using this method.

Note: For backwards compatibility, if DestroyDB is unable to list the database files, Status::OK() will still be returned masking this failure.

throws LevelDBException

Implementation

static void destroy(String filePath, Options options) {
  return _SLevelDB.destroy(filePath, options);
}