(pglet: PgletDb): DbDriverResult import {create_pglet_db_driver} from '@fuzdev/fuz_app/db/db_pglet.js'; Create a Db backed by a pglet instance.
Named _driver to stay clear of @fuzdev/pglet-wasm's own create_pglet_db,
which creates the instance this wraps. Create it with create_pglet_instance
(or with PGLET_COERCION) so it reads values as the other drivers do.
pglet
a @fuzdev/pglet-wasm instance
PgletDbreturns
DbDriverResult the Db instance and a close callback bound to pglet.close()