SqlDatabase class abstract interface

Minimal typed SQL transport implemented by database drivers.

Implemented types
Implementers

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

atomicWrite(List<BoundSql> statements) → Future<List<SqlWriteResult>>
Executes transaction-safe DML statements as one atomic write batch.
close() → Future<void>
Releases resources owned by this database.
execute(BoundSql statement) → Future<SqlWriteResult>
Executes one write statement.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query<T>(BoundSql statement, T decode(SqlRow row)) → Future<List<T>>
Executes a row-returning statement and decodes every row in order.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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