Database class abstract interface

Owns a driver. Closing waits for active work and invalidates all scopes.

Properties

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

Methods

close() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
transaction<T>(Future<T> action(Session session), {Isolation isolation = Isolation.serializable, bool readOnly = false}) → Future<T>

Operators

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