View Source Exqlite.Sqlite3NIF (Exqlite v0.11.8)
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.
Link to this section Summary
Link to this section Types
@type db() :: reference()
@type reason() :: :atom | String.Chars.t()
@type row() :: list()
@type statement() :: reference()
Link to this section 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}