AyeSQL.Runner behaviour (AyeSQL v1.1.4)

Copy Markdown View Source

This module defines an AyeSQL.Runner.

Summary

Callbacks

Callback to initialize the runner.

Callbacks

run(query, options)

@callback run(query :: AyeSQL.Query.t(), options :: keyword()) ::
  {:ok, term()} | {:error, term()}

Callback to initialize the runner.

Functions

__using__(options)

(macro)

Uses the AyeSQL.Runner behaviour.