DatabaseConnection class abstract

Represents a single connection to a database.

A DatabaseConnection is acquired by using a DatabaseAdapter. TODO more docs

Implementers

Properties

adapter DatabaseAdapter<DatabaseConnection>
final
hashCode int
The hash code for this object.
no setterinherited
isOpen bool
True if this connection is still open and can be used.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Closes the connection.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runTransaction<T>(Future<T> delegate(DatabaseContext context)) Future<T>
Runs delegate inside a transaction.
toString() String
A string representation of this object.
inherited

Operators

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