Cloud API Overview > @adpt/cloud > postgres
postgres namespace
The Postgres library for Adapt.
Functions
| Function | Description |
|---|---|
| default(props) | Component that represents an external provider of a Postgres database |
| Postgres() | An abstract component representing a Postgres database within a Postgres server or service. |
| PostgresProvider(props) | Component that represents an external provider of a Postgres database |
| 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 |
|---|---|
| PostgresProviderProps | Props for the postgres.PostgresProvider() component |
| PreloadedPostgresImageProps | Props for postgres.PreloadedPostgresImage() |
| TestPostgresProps | Props for the postgres.TestPostgres() component |