Skip to content

PgDumpOptions

Defined in: packages/pgwasm-pg-dump/src/pg-dump.ts:15

readonly optional args?: readonly string[]

Defined in: packages/pgwasm-pg-dump/src/pg-dump.ts:22

More pg_dump arguments (https://www.postgresql.org/docs/current/app-pgdump.html), placed before the fixed ones, which win: -U postgres --inserts -j 1 -f <output>.


readonly optional fileName?: string

Defined in: packages/pgwasm-pg-dump/src/pg-dump.ts:24

The returned file’s name. Defaults to dump.sql.


readonly pg: Pgwasm

Defined in: packages/pgwasm-pg-dump/src/pg-dump.ts:17

The database to dump. Its Postgres build must reply synchronously (capabilities.synchronousExchange).