Advanced Features

Learn about some advanced features of drift

Advanced queries in Dart

Use sql joins or custom expressions from the Dart api


Define what happens when your database gets created or updated


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.


Acessing drift databases on multiple isolates.


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