Skip to main content

Module postgres

Module postgres 

Source
Expand description

A single-node PostgreSQL container. Defaults to a test/test/test user/password/database trio so PostgresGuard::connection_string is usable with zero configuration; call PostgresContainer::with_username/ PostgresContainer::with_password/PostgresContainer::with_database before start() to override any of them.

Structs§

PostgresContainer
A single-node PostgreSQL container.
PostgresGuard
The running guard for a PostgresContainer.