db_connection v0.1.3 DBConnection.Query protocol
The DBConnection.Query
protocol is responsible for preparing and
encoding queries.
Summary
Types
t :: term
Functions
Specs
describe(any, Keyword.t) :: any
Describe a query.
This function is called to describe a query after it is prepared using a connection callback module.
Specs
encode(any, Keyword.t) :: any
Encodes a query.
This function is called to encode a query before it is executed using a connection callback module.
Specs
parse(any, Keyword.t) :: any
Parse a query.
This function is called to parse a query term before it is prepared using a connection callback module.