drift_sqlite_async | Dart package
Example implementation
An example project which showcases setting up and using Drift with PowerSync is available here:GitHub - powersync.dart/demos/supabase-todolist-drift
Troubleshooting: Watch Streams with Local-Only Tables
When using local-only tables with aviewName that differs from the table name, Drift’s watch() streams may not receive update notifications. This happens because PowerSync sends notifications using the internal table name (e.g., local_items), but Drift is listening for the view name (e.g., items).
Example problem:
transformTableUpdates to map internal names to view names: