Db class abstract

Annotations

Constructors

Db.new()

Properties

config ServerConfig
no setter
connection ↔ MySqlConnection?
getter/setter pair
counter int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disconnect() Future<void>
fetchCol<T>(String sql, [List<Object?>? values]) Future<List<T>>
fetchOne(String sql, [List<Object?>? values]) → dynamic
fetchRow(String sql, [List<Object?>? values]) Future<Map?>
fetchRows(String sql, [List<Object?>? values]) Future<IterableBase<ResultRow>>
fixTZ(DateTime dbDate) DateTime
getAndResetCounter() int
getConnection() Future<MySqlConnection>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(String sql, [List<Object?>? values]) Future<Results>
toString() String
A string representation of this object.
inherited

Operators

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