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