Add isPrepared

This commit is contained in:
toasted-nutbread 2020-03-30 20:27:44 -04:00
parent 1a8bbf32d5
commit 8095d9138c

View File

@ -110,6 +110,10 @@ class Database {
this.db = null;
}
isPrepared() {
return this.db !== null;
}
async purge() {
this._validate();