Adding documentation

This commit is contained in:
Maas-Maarten Zeeman
2011-11-06 08:40:18 +01:00
parent 9cc2d95868
commit 281d720e8a
3 changed files with 67 additions and 8 deletions

View File

@@ -73,6 +73,13 @@ bind_test() ->
ok.
gen_db_test() ->
{ok, Conn} = gen_db:open(sqlite, ":memory:"),
[] = gen_db:execute("create table some_shit(hole_one varchar(10), hole_two int);", [], Conn),
[] = gen_db:execute("insert into some_shit values('dung', 100);", Conn),
[] = gen_db:execute("insert into some_shit values(?, ?);", ["manure", 1000], Conn),
ok.
%% Handy functions...
%%