db_connection v1.0.0-rc.4 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

Struct containing log entry information

A DBConnection.Pool that requires explicit checkout and checking as a mechanism to coordinate between processes

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

A :sbroker callback module using a timeout strategy for the client queue and a CoDel strategy for the connection queue

A :sregulator callback module using an unlimited queue and a CoDel strategy for the valve

Exceptions

Protocols

The DBConnection.Query protocol is responsible for preparing and encoding queries