/// <summary> /// Truncates all data from the database. /// </summary> public void Truncate(LMDBTransaction transaction) { Lmdb.mdb_drop(transaction.Handle(), _handle, false); }
/// <summary> /// Drops the database. /// </summary> public void Drop(LMDBTransaction transaction) { Lmdb.mdb_drop(transaction.Handle(), _handle, true); IsOpened = false; _handle = default(uint); }