Db2Builder class

Builder preconfigured for IBM Db2 (NEW v3.0).

Default driver is {IBM DB2 ODBC DRIVER}, default port 50000. Use database for the database alias (catalogued in the Db2 client) and credentials for Uid/Pwd.

Inheritance

Constructors

Db2Builder()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() → String
Produces an ODBC connection string (key=value;key=value;...). Only includes non-null, non-empty values.
inherited
credentials(String user, String password) → ConnectionStringBuilder
inherited
database(String value) → ConnectionStringBuilder
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
option(String key, String value) → ConnectionStringBuilder
inherited
port(int value) → ConnectionStringBuilder
inherited
server(String value) → ConnectionStringBuilder
inherited
toString() → String
A string representation of this object.
inherited
trusted() → ConnectionStringBuilder
inherited

Operators

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