ResolvedEmbeddedPostgres class
Outcome of startOrAttachEmbeddedPostgres.
Constructors
- ResolvedEmbeddedPostgres({required PostgresDatabaseConfig connectivity, required EmbeddedPostgres handle, required bool launched})
-
Creates a ResolvedEmbeddedPostgres.
const
Properties
- connectivity → PostgresDatabaseConfig
-
Connection coordinates for the resolved postmaster, carrying the
application database name from the source config. Swap
PostgresDatabaseConfig.nameforpostgresto run administrative statements such asCREATE DATABASE/DROP DATABASE.final - handle → EmbeddedPostgres
-
The postmaster handle, whether launched by this call or attached to.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- launched → bool
-
Whether this call launched the postmaster, and so owns stop.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stop
→ Future<
void> Function()? -
Stops the postmaster when this call launched it, otherwise
null.no setter
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