Connection class

Constructors

Connection(String _db, String _host, int _port, String _user, String _password, Map? _sslOpts)

Properties

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

Methods

addListener(String key, Function val) → void
Adds a listener to the connection.
clientAddress() → dynamic
clientPort() → dynamic
close([bool noreplyWait = true]) → void
connect([bool noreplyWait = true]) Future<Connection>
noreplyWait() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(String key, Function val) → void
Alias for addListener
reconnect([bool noreplyWait = true]) Future<Connection>
server() Future
toString() String
A string representation of this object.
inherited
use(String db) → void

Operators

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