We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0a18b98 + ffd8c66 commit c38ba16Copy full SHA for c38ba16
1 file changed
src/index.ts
@@ -94,6 +94,11 @@ export class QuickDB<D = any> {
94
return this.instance;
95
}
96
97
+ async init(): Promise<void> {
98
+ // TODO: change this to remove prepared and call prepare here instead
99
+ await this.prepared;
100
+ }
101
+
102
async all<T = D>(): Promise<{ id: string; value: T }[]> {
103
return this.driver.getAllRows(this.tableName);
104
0 commit comments