Exqlite.Sqlite3 (Exqlite v0.6.1) View Source
The interface to the NIF implementation.
Link to this section Summary
Functions
Get the number of changes recently.
Closes the database and releases any underlying resources.
Disconnect from database and then reopen as an in-memory database based on the serialized binary.
Executes an sql script. Multiple stanzas can be passed at once.
Opens a new sqlite database at the Path provided.
Serialize the contents of the database to a binary.
Causes the database connection to free as much memory as it can. This is useful if you are on a memory restricted system.
Link to this section Types
Link to this section Functions
Specs
Specs
Get the number of changes recently.
Note: If triggers are used, the count may be larger than expected.
Specs
Closes the database and releases any underlying resources.
Specs
Specs
Disconnect from database and then reopen as an in-memory database based on the serialized binary.
Specs
Executes an sql script. Multiple stanzas can be passed at once.
Specs
Specs
Specs
Specs
Specs
Specs
Opens a new sqlite database at the Path provided.
If path
can be ":memory"
to keep the sqlite database in memory.
Specs
Specs
Serialize the contents of the database to a binary.
Specs
Causes the database connection to free as much memory as it can. This is useful if you are on a memory restricted system.
Specs
Specs
transaction_status(db()) :: {:ok, :idle | :transaction}