Firebirdex v0.0.4 Firebirdex View Source
Link to this section Summary
Link to this section Types
Link to this type
conn()
View Source
conn()
View Source
conn() :: DBConnection.conn()
conn() :: DBConnection.conn()
Link to this section Functions
Link to this function
child_spec(opts)
View Source
child_spec(opts)
View Source
child_spec(keyword()) :: Supervisor.child_spec()
child_spec(keyword()) :: Supervisor.child_spec()
Link to this function
close(conn, query, opts \\ [])
View Source
close(conn, query, opts \\ [])
View Source
close(conn(), Firebirdex.Query.t(), keyword()) :: :ok
close(conn(), Firebirdex.Query.t(), keyword()) :: :ok
Link to this function
execute(conn, query, params \\ [], opts \\ [])
View Source
execute(conn, query, params \\ [], opts \\ [])
View Source
execute(conn(), Firebirdex.Query.t(), list(), keyword()) ::
{:ok, Firebirdex.Query.t(), Firebirdex.Result.t()}
| {:error, Firebirdex.Error.t()}
execute(conn(), Firebirdex.Query.t(), list(), keyword()) :: {:ok, Firebirdex.Query.t(), Firebirdex.Result.t()} | {:error, Firebirdex.Error.t()}
Link to this function
execute!(conn, query, params \\ [], opts \\ [])
View Source
execute!(conn, query, params \\ [], opts \\ [])
View Source
execute!(conn(), Firebirdex.Query.t(), list(), keyword()) ::
Firebirdex.Result.t()
execute!(conn(), Firebirdex.Query.t(), list(), keyword()) :: Firebirdex.Result.t()
Link to this function
prepare(conn, name, statement, opts \\ [])
View Source
prepare(conn, name, statement, opts \\ [])
View Source
prepare(conn(), iodata(), iodata(), keyword()) ::
{:ok, Firebirdex.Query.t()} | {:error, Firebirdex.Error.t()}
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, name, statement, opts \\ [])
View Source
prepare!(conn(), iodata(), iodata(), keyword()) :: Firebirdex.Query.t()
prepare!(conn(), iodata(), iodata(), keyword()) :: Firebirdex.Query.t()
Link to this function
prepare_execute(conn, name, statement, params \\ [], opts \\ [])
View Source
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()}
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, name, statement, params \\ [], opts \\ [])
View Source
prepare_execute!(conn(), iodata(), iodata(), list(), keyword()) ::
{Firebirdex.Query.t(), Firebirdex.Result.t()}
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, statement, params \\ [], opts \\ [])
View Source
query(conn(), iodata(), list(), keyword()) ::
{:ok, Firebirdex.Result.t()} | {:error, Firebirdex.Error.t()}
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, statement, params \\ [], opts \\ [])
View Source
query!(conn(), iodata(), list(), keyword()) :: Firebirdex.Result.t()
query!(conn(), iodata(), list(), keyword()) :: Firebirdex.Result.t()
Link to this function
rollback(conn, reason)
View Source
rollback(conn, reason)
View Source
rollback(DBConnection.t(), any()) :: no_return()
rollback(DBConnection.t(), any()) :: no_return()
Link to this function
start_link(opts)
View Source
start_link(opts)
View Source
start_link(keyword()) :: {:ok, pid()} | {:error, Firebirdex.Error.t()}
start_link(keyword()) :: {:ok, pid()} | {:error, Firebirdex.Error.t()}
Link to this function
transaction(conn, fun, opts \\ [])
View Source
transaction(conn, fun, opts \\ [])
View Source
transaction(conn(), (DBConnection.t() -> result), keyword()) ::
{:ok, result} | {:error, any()}
when result: var
transaction(conn(), (DBConnection.t() -> result), keyword()) :: {:ok, result} | {:error, any()} when result: var