(pglite: PGlite): DbDriverResult import {create_pglite_db} from '@fuzdev/fuz_app/db/db_pglite.js'; 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()