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

Runtime schema inspection

Use generated table classes to reflectively inspect the schema of your database.

Isolates

Acessing drift databases on multiple isolates.

DAOs

Keep your database code modular with DAOs

Type converters

Store more complex data in columns with type converters

Custom row classes

Use your own classes as data classes for drift tables

Builder options

Advanced options applied when writing the generated code