workloads / test-helpers / truncatePostgresTables
Function: truncatePostgresTables()
ts
function truncatePostgresTables(workload, schemaName?): Promise<void>
Truncates all the tables in a PostgresDatabase workload.
Parameters
Parameter | Type | Description |
---|---|---|
| PostgresDatabase workload | |
|
| Schema name (default: |
Returns
Promise
<void
>