Firebirdex v0.0.4 Firebirdex View Source

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

close(conn, query, opts \\ []) View Source
close(conn(), Firebirdex.Query.t(), keyword()) :: :ok

Link to this function

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

Link to this function

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

Link to this function

prepare(conn, name, statement, opts \\ []) View Source
prepare(conn(), iodata(), iodata(), keyword()) ::
  {:ok, Firebirdex.Query.t()} | {:error, Firebirdex.Error.t()}

Link to this function

prepare!(conn, name, statement, opts \\ []) View Source
prepare!(conn(), iodata(), iodata(), keyword()) :: Firebirdex.Query.t()

Link to this function

prepare_execute(conn, name, statement, params \\ [], opts \\ []) View Source
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
prepare_execute!(conn(), iodata(), iodata(), list(), keyword()) ::
  {Firebirdex.Query.t(), Firebirdex.Result.t()}

Link to this function

query(conn, statement, params \\ [], opts \\ []) View Source
query(conn(), iodata(), list(), keyword()) ::
  {:ok, Firebirdex.Result.t()} | {:error, Firebirdex.Error.t()}

Link to this function

query!(conn, statement, params \\ [], opts \\ []) View Source
query!(conn(), iodata(), list(), keyword()) :: Firebirdex.Result.t()

Link to this function

rollback(conn, reason) View Source
rollback(DBConnection.t(), any()) :: no_return()

Link to this function

start_link(opts) View Source
start_link(keyword()) :: {:ok, pid()} | {:error, Firebirdex.Error.t()}

Link to this function

transaction(conn, fun, opts \\ []) View Source
transaction(conn(), (DBConnection.t() -> result), keyword()) ::
  {:ok, result} | {:error, any()}
when result: var