drift/extras/drift_postgres
Simon Binder e109cf3564
Update integration test architecture
2022-06-25 14:06:56 +02:00
..
lib Fix more transaction error edge-cases (#1882) 2022-06-08 18:23:20 +02:00
test Update integration test architecture 2022-06-25 14:06:56 +02:00
.gitignore PostgreSQL support (#1507) 2021-11-11 14:40:41 +01:00
README.md docs: fix typo in git path(dirft -> drift) (#1838) 2022-05-16 16:22:33 +02:00
pubspec.yaml Update integration test architecture 2022-06-25 14:06:56 +02:00

README.md

An experimental postgres backend for Drift.

Using this

For general notes on using drift, see this guide.

To use drift_postgres, add this to your pubspec.yaml

dependencies:
  drift: "$latest version"
  drift_postgres:
   git:
    url: https://github.com/simolus3/drift.git
    path: extras/drift_postgres

To connect your drift database class to postgres, use a PgDatabase from package:drift_postgres/postgres.dart.