Integrations
Drift + Turso / LibSQL
Configure drift
to work with libsql_dart
Prerequisites
Before you start, make sure you:
1
Add packages to your project
2
Retrieve database credentials
Get the database URL:
Get the database authentication token:
Assign credentials to the environment variables inside .env
.
3
Create a table schema
4
Create db class
5
Run build runner
6
Create the db
7
Perform SQL operations
Was this page helpful?