Copyright © 2011 - 2017 Maas-Maarten Zeeman
Authors: Maas-Maarten Zeeman (mmzeeman@xs4all.nl).
bind/5 | Bind parameters to a prepared statement. |
changes/3 | Get the number of affected rows of last statement. |
close/3 | Close the connection. |
column_names/4 | Retrieve the column names of the prepared statement. |
column_types/4 | Retrieve the column types of the prepared statement. |
exec/4 | Exec the query. |
finalize/4 | . |
get_autocommit/3 | Get automcommit. |
insert/4 | Insert record. |
multi_step/5 | . |
open/4 | Open the specified sqlite3 database. |
prepare/4 | . |
reset/4 | . |
set_update_hook/4 | |
start/0 | Start a low level thread which will can handle sqlite3 calls. |
bind(Db::esqlite:connection(), Stmt::esqlite:statement(), Ref::reference(), Dest::pid(), Args::[any()]) -> ok | {error, any()}
Bind parameters to a prepared statement.
changes(Db, Ref, Dest) -> any()
Get the number of affected rows of last statement
When the statement is executed Dest will receive message {Ref, answer()} with answer() integer | {error, reason()}close(Db::esqlite:connection(), Ref::reference(), Dest::pid()) -> ok | {error, any()}
Close the connection.
column_names(Db::esqlite:connection(), Stmt::esqlite:statement(), Ref::reference(), Dest::pid()) -> ok | {error, any()}
Retrieve the column names of the prepared statement
column_types(Db::esqlite:connection(), Stmt::esqlite:statement(), Ref::reference(), Dest::pid()) -> ok | {error, any()}
Retrieve the column types of the prepared statement
exec(Db::esqlite:connection(), Ref::reference(), Dest::pid(), Sql::string()) -> ok | {error, any()}
Exec the query.
Sends an asynchronous exec command over the connection and returns ok immediately.
When the statement is executed Dest will receive message {Ref, answer()} with answer() integer | {error, reason()}finalize(Db::esqlite:connection(), Stmt::esqlite:statement(), Ref::reference(), Dest::pid()) -> ok | {error, any()}
get_autocommit(Db::esqlite:connection(), Ref::reference(), Dest::pid()) -> ok | {error, any()}
Get automcommit
insert(Db::esqlite:connection(), Ref::reference(), Dest::pid(), Sql::esqlite:sql()) -> ok | {error, any()}
Insert record
multi_step(Db::esqlite:connection(), Stmt::esqlite:statement(), Chunk_Size::pos_integer(), Ref::reference(), Dest::pid()) -> ok | {error, any()}
open(Db::esqlite:connection(), Ref::reference(), Dest::pid(), Filename::string()) -> ok | {error, any()}
Open the specified sqlite3 database.
Sends an asynchronous open command over the connection and returns ok immediately. When the database is openedprepare(Db::esqlite:connection(), Ref::reference(), Dest::pid(), Sql::string()) -> ok | {error, any()}
reset(Db::esqlite:connection(), Stmt::esqlite:statement(), Ref::reference(), Dest::pid()) -> ok | {error, any()}
set_update_hook(Db, Ref, Dest, Pid) -> any()
start() -> {ok, esqlite:connection()} | {error, any()}
Start a low level thread which will can handle sqlite3 calls.
Generated by EDoc