postgresql2 1.6.2 postgresql2: ^1.6.2 copied to clipboard
A fork of Greg's PostgreSQL driver (xxgreg/postgresql) using conserved substitution respecting strings and @@ operators. Also optimizing the pool implementation aggressivly.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add postgresql2
With Flutter:
$ flutter pub add postgresql2
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
postgresql2: ^1.6.2
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:postgresql2/constants.dart';
import 'package:postgresql2/pool.dart';
import 'package:postgresql2/postgresql.dart';