Home > extract-pg-schema > ExtractSchemaOptions
ExtractSchemaOptions interface
This is the options object that can be passed to extractSchemas
.
Signature:
export interface ExtractSchemaOptions
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
() => void | (Optional) Called once for each type that is extracted. | ||
() => void | (Optional) Called when all types have been extracted. | ||
(total: number) => void | (Optional) Called with the number of types to extract. | ||
boolean | (Optional) extractShemas will always attempt to parse view definitions to discover the "source" of each column, i.e. the table or view that it is derived from. If this option is set to | ||
string[] | (Optional) Will contain an array of schema names to extract. If undefined, all non-system schemas will be extracted. | ||
(pgType: PgType) => boolean | (Optional) Filter function that you can use if you want to exclude certain items from the schemas. |