Cloud API Overview > @adpt/cloud > postgres
postgres namespace
The Postgres library for Adapt.
Functions
Function | Description |
---|---|
Postgres() | An abstract component representing a Postgres database within a Postgres server or service. |
PreloadedPostgresImage(props) | Creates a throw-away Postgres database with preloaded data. |
TestPostgres(props) | A component suitable for creating test scenarios that creates a simple, temporary Postgres database that loads test data from a .sql file and which implements the abstract postgres.Postgres() interface. |
Interfaces
Interface | Description |
---|---|
PreloadedPostgresImageProps | Props for postgres.PreloadedPostgresImage() |
TestPostgresProps | Props for the postgres.TestPostgres() component |