Crate af_postgres[][src]

PostgreSQL integration for af-lib.

Modules

types

Types.

Structs

Client

A client for executing stataments on a Postgres connection.

Config

Connection configuration.

Row

A row of data returned from the database by a query.

RowStream

A stream of table rows.

Statement

A prepared statement.

StatementBuilder

A helper struct for building a complex one-off statement its parameter values.

Type

A Postgres type.

Enums

Error

Traits

FromSql

A trait for types that can be created from a Postgres value.

ToSql

A trait for types that can be converted into Postgres values.

ToStatement

A trait abstracting over prepared and unprepared statements.

Functions

connect

Connects to a Postgres database using the given config.

Type Definitions

Result