postgresql2 0.2.14+2 postgresql2: ^0.2.14+2 copied to clipboard
A temporary fork from xxgreg/postgresql for aggressive and probabaly unstable support of timestamptz and json. Will be merged back once Greg supports it officially.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart 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: ^0.2.14+2
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:postgresql2/buffer.dart';
import 'package:postgresql2/connection.dart';
import 'package:postgresql2/constants.dart';
import 'package:postgresql2/exceptions.dart';
import 'package:postgresql2/format_value.dart';
import 'package:postgresql2/message_buffer.dart';
import 'package:postgresql2/postgresql.dart';
import 'package:postgresql2/postgresql_pool.dart';
import 'package:postgresql2/query.dart';
import 'package:postgresql2/settings.dart';
import 'package:postgresql2/substitute.dart';