Advanced Features

Learn about some advanced features of drift

Advanced queries in Dart

Use sql joins or custom expressions from the Dart api

Migrations

Define what happens when your database gets created or updated

Expressions

Deep-dive into what kind of SQL expressions can be written in Dart

Custom row classes

Use your own classes as data classes for drift tables

DAOs

Keep your database code modular with DAOs

Type converters

Store more complex data in columns with type converters

Isolates

Using drift databases on a background isolate

Builder options

Advanced options applied when writing the generated code