Classes
-
Column<T>
-
Base class for columns in sql. Type
T
refers to the type a value of this
column will have in Dart.
-
ColumnBuilder<T>
-
A column builder is used to specify which columns should appear in a table.
All of the methods defined in this class and its subclasses are not meant to
be called at runtime. Instead, the generator will take a look at your
source code (specifically, it will analyze which of the methods you use) to
figure out the column structure of a table.
-
DataClassName
-
A class to be used as an annotation on Table classes to customize the
name for the data class that will be generated for the table class. The data
class is a dart object that will be used to represent a row in the table.
-
DriftAccessor
-
Annotation to use on classes that implement DatabaseAccessor. It specifies
which tables should be made available in this dao.
-
DriftDatabase
-
Use this class as an annotation to inform the generator that a database
class should be generated using the specified DriftDatabase.tables.
-
DriftView
-
An annotation specifying view properties
-
HasResultSet
-
Base class for dsl Tables and Views.
-
JsonKey
-
Annotation to use on column getters inside of a Table to define the name
of the column in the json used by DataClass.toJson.
-
Table
-
Subclasses represent a table in a database generated by drift.
-
UseRowClass
-
An annotation specifying an existing class to be used as a data class.
-
View
-
Subclasses represent a view in a database generated by drift.
-
VirtualColumnBuilder<T>
-
A column builder for virtual, generated columns.