drift/extras/drift_postgres
westito 7330cf5d58 Add BigInt support to executors 2022-05-12 17:57:56 +02:00
..
lib Add BigInt support to executors 2022-05-12 17:57:56 +02:00
.gitignore PostgreSQL support (#1507) 2021-11-11 14:40:41 +01:00
README.md Replace old website and repository links 2022-03-13 15:52:15 +01:00
pubspec.yaml Add BigInt support to executors 2022-05-12 17:57: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/dirft_postgres

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