box library

Classes

AndPredicate<T>
Box
A Box represents a storage, be it a file, a database or simply in-memory storage.
Composite
DeleteStep<T>
Entity
Metadata that indicates a class is an entity.
EntitySupport<T>
Base class that holds information about an entity.
ExpectationStep<T>
Field
FileBox
Index
IndexField
JoinStep<T>
Key
Metadata that indicates a field is a primary key.
MemoryBox
NotPredicate<T>
OrderByStep<T>
OrPredicate<T>
Predicate<T>
QueryStep<T>
Registry
Holds entity information fox Box implementations. Every Box implementation requires a registry.
SelectStep
Transient
UpdateStep<T>
UpdateWhereStep<T>
WhereStep<T, S>

Enums

Direction

Extensions

FirstOrNull on Stream<E>
WhereNotNull on Stream<E?>

Constants

entity → const Entity
index → const Index
key → const Key
transient → const Transient

Functions

$(String name, {String? alias}) Field

Typedefs

FieldAccessor<T> = dynamic Function(T entity)
Mapper<T> = T? Function(dynamic input)
A mapping function that maps records to the specified type.