mirror of https://github.com/AMT-Cheif/drift.git
7330cf5d58 | ||
---|---|---|
.. | ||
lib | ||
.gitignore | ||
README.md | ||
pubspec.yaml |
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
.