View Source Exqlite.Sqlite3NIF (Exqlite v0.22.0)
This is the module where all of the NIF entry points reside. Calling this directly should be avoided unless you are aware of what you are doing.
Summary
Types
@type db() :: reference()
@type reason() :: :atom | String.Chars.t()
@type row() :: list()
@type statement() :: reference()
Functions
@spec deserialize(db(), String.Chars.t(), binary()) :: :ok | {:error, reason()}
@spec execute(db(), String.Chars.t()) :: :ok | {:error, reason()}
@spec open(String.Chars.t(), integer()) :: {:ok, db()} | {:error, reason()}
@spec prepare(db(), String.Chars.t()) :: {:ok, statement()} | {:error, reason()}
@spec serialize(db(), String.Chars.t()) :: {:ok, binary()} | {:error, reason()}
@spec transaction_status(db()) :: {:ok, :idle | :transaction}