Module typed

Module typed 

Source
Expand description

Experimental bb8-backed Postgres typestate API. Provides PgConnection<Idle> / PgConnection<InTx> using an owned client and explicit BEGIN/COMMIT/ROLLBACK.

Structs§

PgConnection
Typestate wrapper around a pooled Postgres client.
PgManager
bb8 manager for Postgres clients.

Enums§

Idle
Marker types for typestate
InTx

Functions§

dml
Adapter for query builder dml (typed-postgres target).
select
Adapter for query builder select (typed-postgres target).