Firebirdex v0.2.0 Firebirdex View Source

Link to this section Summary

Link to this section Types

Link to this section Functions

Specs

child_spec(keyword()) :: Supervisor.child_spec()
Link to this function

close(conn, query, opts \\ [])

View Source

Specs

close(conn(), Firebirdex.Query.t(), keyword()) :: :ok
Link to this function

execute(conn, query, params \\ [], opts \\ [])

View Source

Specs

See DBConnection.execute/4.

Link to this function

execute!(conn, query, params \\ [], opts \\ [])

View Source

Specs

See DBConnection.execute!/4.

Link to this function

prepare(conn, name, statement, opts \\ [])

View Source

Specs

prepare(conn(), iodata(), iodata(), keyword()) ::
  {:ok, Firebirdex.Query.t()} | {:error, Firebirdex.Error.t()}
Link to this function

prepare!(conn, name, statement, opts \\ [])

View Source

Specs

prepare!(conn(), iodata(), iodata(), keyword()) :: Firebirdex.Query.t()
Link to this function

prepare_execute(conn, name, statement, params \\ [], opts \\ [])

View Source

Specs

prepare_execute(conn(), iodata(), iodata(), list(), keyword()) ::
  {:ok, Firebirdex.Query.t(), Firebirdex.Result.t()}
  | {:error, Firebirdex.Error.t()}
Link to this function

prepare_execute!(conn, name, statement, params \\ [], opts \\ [])

View Source

Specs

prepare_execute!(conn(), iodata(), iodata(), list(), keyword()) ::
  {Firebirdex.Query.t(), Firebirdex.Result.t()}
Link to this function

query(conn, statement, params \\ [], opts \\ [])

View Source

Specs

query(conn(), iodata(), list(), keyword()) ::
  {:ok, Firebirdex.Result.t()} | {:error, Firebirdex.Error.t()}
Link to this function

query!(conn, statement, params \\ [], opts \\ [])

View Source

Specs

query!(conn(), iodata(), list(), keyword()) :: Firebirdex.Result.t()

Specs

rollback(DBConnection.t(), any()) :: no_return()

See DBConnection.rollback/2.

Specs

start_link(keyword()) :: {:ok, pid()} | {:error, Firebirdex.Error.t()}
Link to this function

transaction(conn, fun, opts \\ [])

View Source

Specs

transaction(conn(), (DBConnection.t() -> result), keyword()) ::
  {:ok, result} | {:error, any()}
when result: var

See DBConnection.transaction/3.