db_connection v0.1.2 API Reference

Modules

A behaviour module for implementing efficient database connection client processes, pools and transactions

A DBConnection.Pool with a single connection, the default pool

A behaviour module for implementing a pool of database connections using DBConnection

A sbroker callback module with a timeout based queue

Exceptions

Protocols

The DBConnection.query protocol is responsible for preparing and encoding queries before they are passed to a connection

The DBConnection.query protocol is responsible for preparing and encoding queries before they are passed to a connection