Database<T extends Schema> class final Transactions

Constructors

Database.new(DatabaseAdapter adapter, SqlDialect dialect)

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
select<S extends Record>(S expressions) QuerySingle<S>
Create a QuerySingle that evaluates expressions.
toString() String
A string representation of this object.
inherited
transact<R>(Future<R> fn()) Future<R>
Start a transaction an execute fn in a Zone where all operations on this Database happens in the transaction.

Operators

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