ConnectionSettings class

Constructors

ConnectionSettings({String host = 'localhost', int port = 3306, String? user, String? password, String? db, bool useCompression = false, bool useSSL = false, int maxPacketSize = 16 * 1024 * 1024, Duration timeout = const Duration(seconds: 30), int characterSet = CharacterSet.UTF8MB4})
ConnectionSettings.copy(ConnectionSettings o)
ConnectionSettings.socket({required String path, String? user, String? password, String? db, bool useCompression = false, bool useSSL = false, int maxPacketSize = 16 * 1024 * 1024, Duration timeout = const Duration(seconds: 30), int characterSet = CharacterSet.UTF8MB4})
factory

Properties

characterSet int
getter/setter pair
db String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
host String
getter/setter pair
maxPacketSize int
getter/setter pair
password String?
getter/setter pair
port int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration
The timeout for connecting to the database and for all database operations.
getter/setter pair
useCompression bool
getter/setter pair
user String?
getter/setter pair
useSSL bool
getter/setter pair

Methods

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