DatabaseConfig class

Configuration for a Postgres database,

Constructors

DatabaseConfig({required String host, required int port, required String user, required String password, required String name, bool requireSsl = false, bool isUnixSocket = false, List<String>? searchPaths})
Creates a new DatabaseConfig.

Properties

hashCode int
The hash code for this object.
no setterinherited
host String
Database host.
final
isUnixSocket bool
True if the database is running on a unix socket.
final
name String
Database name.
final
password String
Database password.
final
port int
Database port.
final
requireSsl bool
True if the database requires an SSL connection.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchPaths List<String>?
Override the search path all connections to the database.
final
user String
Database user name.
final

Methods

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

Operators

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