persistence library
Persistence
Classes
- AggregateSelect
- Select the result of an aggregation.
-
BaseDao<
TDao> -
BeanJoin<
TDao> - BoolArrayDataType
- BoolDataType
- ByteDataType
- CompareFilter
-
CRUDRepository<
TDao extends PrimaryKeyDao< TDao, TPrimaryKey> , TPrimaryKey> - Repository implementation for basic CRUD operations.
- DaoField
- Annotation for dao fields. //TODO OUTDATED DOCS Valid types are String, int, double, bool, Uint8List and DateTime.
- DaoType
- Annotation for dao classes.
-
DatabaseAdapter<
TConnection extends DatabaseConnection> - Abstract class for connecting to a database. TODO more docs TODO docs config vars
- DatabaseConnection
- Represents a single connection to a database.
- DatabaseContext
- Interface for performing operations / running queries on the database.
-
DataBean<
TDao> -
DataField<
T extends DataType> -
Definition a data object field inside a
BaseDataBean
. - DataSchema
-
DataType<
T> - DateTimeDataType
- DoubleArrayDataType
- DoubleDataType
- Expression
- Represents an expression that is either static or evaluated for every individual dataset and evaluates into a value.
- ExpressionSelect
- ExpressionSort
- FieldSelect
- Select a specific column / field.
- Filter
- Representing filter arguments in a uniform, abstract way.
- FilterGroup
- Joins multiple Filter elements into a group using a FilterGroupType.
-
ForeignKey<
T extends DataType> - ForeignKeyDaoField
- Annotation for foreign key dao fields.
- IntArrayDataType
- IntDataType
- JoinedQuerySource
- JsonListDataType
- JsonMapDataType
- Migrator
- Provides an interface for migrating between schema versions.
- OperationExpression
-
PrimaryKey<
T extends DataType> -
PrimaryKeyDao<
TDao, TPrimaryKey> - PrimaryKeyDaoField
- Annotation for primary key dao fields.
-
PrimaryKeyDataBean<
TDao, TPrimaryKey> - QueryResult
- QuerySelect
- Representing query select targets in a uniform, abstract way.
-
QuerySource<
T> - Defining a common base class among query sources.
- Repository
- Base class for repository services.
- Sort
- Representing sort arguments in a uniform, abstract way.
- SortGroup
- StringArrayDataType
- StringDataType
- SubQuery
-
TripleJoinQuerySource<
Ta, Tb, Tc> -
TupleJoinQuerySource<
Ta, Tb> - ValueExpression
- WildcardSelect
- Select every available column / field.
Extensions
- DatabaseContextExtension on DatabaseContext
- Utility methods that can be used on any DatabaseContext.
- ExpressionExtension on Expression
- FilterExtension on Filter