SagaPgo
PostgreSQL client
Guide
Getting started
Install, configure a connection pool, and run your first query.
Queries
Running SQL with `query` and `execute`, and composing statements with the `sql` builder (`push`, `bind_values`, `push_bind`, `push_values`).
Transactions
Wrapping work in `transaction` with the `pg_transaction` handler, commit and rollback semantics, and pitfalls around escaping continuations.
Types and decoding
Encoding parameters with `pg_int`, `pg_text`, `pg_uuid`, `pg_date`, `maybe_null`, and decoding result columns with `uuid`, `naive_datetime`, and the `Std.Dynamic` decoders.