Skip to content

Commit 2021ead

Browse files
committed
Fix onconnect start
1 parent e6060ba commit 2021ead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export default function Postgres(url, options) {
193193
}
194194

195195
function onconnect() {
196-
container = fn(scoped)
196+
container = fetchArrayTypes().then(() => fn(scoped))
197197
queries === 0 && finished(queries++)
198198
}
199199

0 commit comments

Comments
 (0)