ResolvedEmbeddedPostgres class

Constructors

ResolvedEmbeddedPostgres({required PostgresDatabaseConfig connectivity, required Future<void> stop()?})
Creates a ResolvedEmbeddedPostgres.
const

Properties

connectivity → PostgresDatabaseConfig
Connection coordinates for the resolved postmaster, carrying the application database name from the source config. Swap PostgresDatabaseConfig.name for postgres to run administrative statements such as CREATE DATABASE / DROP DATABASE.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stop Future<void> Function()?
Stops the postmaster this call launched, or null when it attached to one another supervisor already owns. Only invoke it for a non-null value.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited