View Source Exqlite (Exqlite v0.11.8)
SQLite3 driver for Elixir.
Link to this section Summary
Link to this section Functions
@spec child_spec([Exqlite.Connection.connection_opt()]) :: :supervisor.child_spec()
@spec close(DBConnection.conn(), Exqlite.Query.t(), list()) :: :ok | {:error, Exception.t()}
@spec close!(DBConnection.conn(), Exqlite.Query.t(), list()) :: :ok
@spec execute(DBConnection.conn(), Exqlite.Query.t(), list(), list()) :: {:ok, Exqlite.Result.t()} | {:error, Exqlite.Error.t()}
@spec execute!(DBConnection.conn(), Exqlite.Query.t(), list(), list()) :: Exqlite.Result.t()
@spec prepare!(DBConnection.conn(), iodata(), iodata(), list()) :: Exqlite.Query.t()
@spec prepare_execute(DBConnection.conn(), iodata(), iodata(), list(), list()) :: {:ok, Exqlite.Query.t(), Exqlite.Result.t()} | {:error, Exqlite.Error.t()}
@spec prepare_execute!(DBConnection.conn(), iodata(), iodata(), list(), list()) :: {Exqlite.Query.t(), Exqlite.Result.t()}
@spec query(DBConnection.conn(), iodata(), list(), list()) :: {:ok, Exqlite.Result.t()} | {:error, Exception.t()}
@spec query!(DBConnection.conn(), iodata(), list(), list()) :: Exqlite.Result.t()
@spec rollback(DBConnection.t(), term()) :: no_return()
@spec start_link([Exqlite.Connection.connection_opt()]) :: {:ok, pid()} | {:error, Exqlite.Error.t()}
@spec transaction(DBConnection.conn(), (DBConnection.t() -> result), list()) :: {:ok, result} | {:error, any()} when result: var