MySqlBuilder class
Builder preconfigured for MySQL.
Default driver is {MySQL ODBC 8.0 Driver}. Use server, port,
database, credentials, and option for extra keys.
- Inheritance
-
- Object
- ConnectionStringBuilder
- MySqlBuilder
Constructors
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