db_connection v0.1.3 DBConnection.Result protocol
The DBConnection.query
protocol is responsible for preparing and
encoding queries before they are passed to a connection.
Summary
Functions
Decode a query
Types
t :: term
Functions
Specs
decode(any, Keyword.t) :: any
Decode a query.
This function is called to decode a result after it is returned by a connection callback module.
See DBConnection.execute/3
and DBConnection.execute_close/3
.