database library

Classes

Column
Abstract class representing a database Column. Subclassed by the different supported column types such as ColumnInt or ColumnString.
ColumnBool
A Column holding an bool.
ColumnByteData
A Column holding ByteData.
ColumnDateTime
A Column holding an DateTime. In the database it is stored as a timestamp without time zone.
ColumnDouble
A Column holding an double.
ColumnDuration
A Column holding Duration.
ColumnEnum<E extends Enum>
A Column holding an enum.
ColumnInt
A Column holding an int.
ColumnSerializable
A Column holding an SerializableEntity. The entity will be stored in the database as a json column.
ColumnString
A Column holding an String.
Constant
A constant Expression.
DatabaseConnection
A connection to the database. In most cases the Database db object in the Session object should be used when connecting with the database.
DatabasePoolManager
Configuration for connecting to the Postgresql database.
Expression
A database Expression.
Order
Defines how to order a database column.
Table
Represents a database table.
TableRow
Holds data corresponding to a row in the database. Concrete classes are typically generated. Instances of TableRow can also be serialized and either passed to clients or cached.
Transaction
Holds the state of a running database transaction.

Typedefs

TransactionFunction<R> = Future<R> Function(Transaction transaction)
A function performing a transaction, passed to the transaction method.