Skip to content

Commit 374c0bd

Browse files
committed
Enable loadExtension() in async API
1 parent fb045ae commit 374c0bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

promise.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const {
4848
databasePrepareAsync,
4949
databaseMaxWriteReplicationIndex,
5050
databaseDefaultSafeIntegers,
51+
databaseLoadExtension,
5152
statementRaw,
5253
statementIsReader,
5354
statementGet,
@@ -231,7 +232,7 @@ class Database {
231232
}
232233

233234
loadExtension(...args) {
234-
throw new Error("not implemented");
235+
databaseLoadExtension.call(this.db, ...args);
235236
}
236237

237238
maxWriteReplicationIndex() {

0 commit comments

Comments
 (0)