Module raw_sqlite3

Convenience and utility functions for the raw_sqlite3 library.

Description

Convenience and utility functions for the raw_sqlite3 library.

NOTE: Currently the interface of the module should NOT be considered stable since it's mostly a convenience, high-level functions. Users of the library are expected to use sqltite3_nif module directly to build their own high-level primitives since its interface is as stable as the SQLite C API and is thoroughly type-specced and covered by tests.

Function Index

atom_to_int_flag/1
bind/2
bool_to_int/1
close/1
err_to_atom/1
exec/2
exec/3
expand_error/1
expand_error/2
fetchall/1
fold/4
fold/5
int_to_bool/1
make_flags/1
map/3
map/4
open/1
open/2
open/3
prepare/2
q/2
q/3
step/1
with_trxn/2

Function Details

atom_to_int_flag/1

atom_to_int_flag(X1) -> any()

bind/2

bind(Stmt, Params) -> any()

bool_to_int/1

bool_to_int(X1) -> any()

close/1

close(Db) -> any()

err_to_atom/1

err_to_atom(X1) -> any()

exec/2

exec(Db, Sql) -> any()

exec/3

exec(Db, Sql, Params) -> any()

expand_error/1

expand_error(OK) -> any()

expand_error/2

expand_error(Db, OK) -> any()

fetchall/1

fetchall(Stmt) -> any()

fold/4

fold(Db, Sql, Fun, Acc) -> any()

fold/5

fold(Db, Sql, Params, Fun, Acc) -> any()

int_to_bool/1

int_to_bool(X) -> any()

make_flags/1

make_flags(Atoms) -> any()

map/3

map(Db, Sql, Fun) -> any()

map/4

map(Db, Sql, Params, Fun) -> any()

open/1

open(DbFile) -> any()

open/2

open(DbFile, Flags) -> any()

open/3

open(DbFile, Flags, Vfs) -> any()

prepare/2

prepare(Db, Sql) -> any()

q/2

q(Db, Sql) -> any()

q/3

q(Db, Sql, Params) -> any()

step/1

step(Stmt) -> any()

with_trxn/2

with_trxn(Db, F) -> any()


Generated by EDoc