PostgresDriver constructor
PostgresDriver(
- Endpoint endpoint, {
- String schema = 'public',
- PoolSettings? settings,
Creates an owned pool for endpoint; opening happens on first use.
Implementation
PostgresDriver(
pg.Endpoint endpoint, {
String schema = 'public',
pg.PoolSettings? settings,
}) : schema = _validatedSchema(schema),
_pool = pg.Pool<void>.withEndpoints([endpoint], settings: settings);