(pglite: PGlite): DbDriverResult Create a Db backed by a PGlite instance.
Delegates transactions to PGlite's native transaction() method.
pglite
an already-constructed PGlite instance
type
PGlitereturns
DbDriverResult the Db instance and a close callback bound to pglite.close()