performDataExport
performDataExport(
deps,options?):Promise<DataExportResult>
Defined in: packages/client/src/export-data.ts:236
Run a data export (ADR-0035): drain the journal (unless the escape hatch is set) → throwaway-clone
pg_dump -t per synced table → concatenate the comment + enum DDL header → assemble the report. The
caller (createSyncClient) awaits engine-ready and enters the lifecycle slot BEFORE calling this, so the
whole drain+dump runs under the store’s single lifecycle slot (the drain must sit inside it — see the
module header).
Parameters
Section titled “Parameters”options?
Section titled “options?”DataExportOptions = {}
Returns
Section titled “Returns”Promise<DataExportResult>