Add isPrepared
This commit is contained in:
parent
1a8bbf32d5
commit
8095d9138c
@ -110,6 +110,10 @@ class Database {
|
|||||||
this.db = null;
|
this.db = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isPrepared() {
|
||||||
|
return this.db !== null;
|
||||||
|
}
|
||||||
|
|
||||||
async purge() {
|
async purge() {
|
||||||
this._validate();
|
this._validate();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user