PgEndpoint class
The PostgreSQL server endpoint and its configuration to use when opening a new connection.
Constructors
- PgEndpoint({required String host, int port = 5432, required String database, String? username, String? password, bool requireSsl = false})
- PgEndpoint.parse(dynamic url)
-
Parses the most common connection URL formats:
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
replace(
{String? host, int? port, String? database, String? username, String? password, bool? requireSsl}) → PgEndpoint - Creates a new PgEndpoint by replacing the current values with non-null parameters.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override