DBConnectionInfo class
Constructors
-
DBConnectionInfo({ConnectionDriver driver = ConnectionDriver.pgsql, String host = 'loalhost', int port = 5432, String database = 'postgres', required String username, required String password, String? charset, List<
String> ? schemes, String? prefix, bool useSSL = false, int numberOfProcessors = 1, bool setNumberOfProcessorsFromPlatform = false, bool reconnectIfConnectionIsNotOpen = true, bool enablePsqlAutoSetSearchPath = true, int timeoutInSeconds = 120})
Properties
- charset ↔ String?
-
getter/setter pair
- database ↔ String
-
getter/setter pair
- driver ↔ ConnectionDriver
-
getter/setter pair
- enablePsqlAutoSetSearchPath ↔ bool
-
enable execution of query 'set search_path to schemes' on open connection
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- host ↔ String
-
getter/setter pair
- numberOfProcessors ↔ int
-
getter/setter pair
- options ↔ QueryBuilderOptions
-
getter/setter pair
- password ↔ String
-
getter/setter pair
- port ↔ int
-
getter/setter pair
- prefix ↔ String?
-
getter/setter pair
- reconnectIfConnectionIsNotOpen ↔ bool
-
reconnect if connection is not open
PostgreSQLSeverity.error : Attempting to execute query, but connection is not open
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schemes
↔ List<
String> ? -
getter/setter pair
- setNumberOfProcessorsFromPlatform ↔ bool
-
getter/setter pair
- timeoutInSeconds ↔ int
-
getter/setter pair
- usePool ↔ bool
-
getter/setter pair
- username ↔ String
-
getter/setter pair
- useSSL ↔ bool
-
getter/setter pair
Methods
-
clone(
) → DBConnectionInfo -
getQueryOptions(
) → QueryBuilderOptions -
getSettings(
) → DBConnectionInfo -
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