sqlite-erlang icon indicating copy to clipboard operation
sqlite-erlang copied to clipboard

Sqlite gen_server port for Erlang. Creates, reads and writes to sqlite database.

Compiling

  1. Modify Makefile as needed.

  2. Run 'make'

  3. Run 'make static' for dialyzer

Running Test Suite

$ROOT refers to the parent directory for sqlite-1.0.0

  1. Add $ROOT/sqlite-1.0.0/priv in your path.

  2. erl -pa $ROOT/sqlite-1.0.0/ebin

  3. ct:run("src").

Example Usage

Use sqlite-1.0.0/src/test/sqlite_test_SUITE.erl as an example for your own usage. Look at both init_per_testcase and create_table.

Author: [email protected]