extract-pg-schema package
Functions
Function | Description |
---|---|
extractSchema(schemaName, connectionConfig, resolveViews, tables) | |
Perform the extraction |
Interfaces
Interface | Description |
---|---|
Attribute of a composite type. | |
Composite type in a schema. | |
Domain type in a schema. | |
Enum type in a schema. | |
This is the options object that can be passed to | |
Column in a foreign table. | |
Foreign table in a schema. | |
The view columns contains information about all table columns (or view columns) in the database. System columns (ctid, etc.) are not included. Only those columns are shown that the current user has access to (by way of being the owner or having some privilege). | |
The view domains contains all domains defined in the current database. Only those domains are shown that the current user has access to (by way of being the owner or having some privilege). | |
The view tables contains all tables and views defined in the current database. Only those tables and views are shown that the current user has access to (by way of being the owner or having some privilege). | |
The view tables contains all tables and views defined in the current database. Only those tables and views are shown that the current user has access to (by way of being the owner or having some privilege). | |
Column in a materialized view. | |
Materialized view in a schema. | |
Range type in a schema. | |
Check constraint on a table. | |
Column in a table. | |
Table in a schema. | |
Index on a table. | |
Column in an index. | |
Security policy on a table. | |
Column in a view. | |
View in a schema. |
Variables
Variable | Description |
---|---|
Type Aliases
Type Alias | Description |
---|---|
Attribute type in a composite type. | |
Column reference. | |
Column type in a foreign table. | |
Index for a column. | |
Column type in a materialized view. | |
Base type for Postgres objects. | |
extractSchemas generates a record of all the schemas extracted, indexed by schema name. The schemas are instances of this type. | |
Column type in a table. | |
Column type in a view. | |