Minimal SQLite key-value store for OCaml
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(sqlite): rename get to find in cram tests

+2 -2
+2 -2
test/cram/interop.t
··· 43 43 > Eio_main.run @@ fun env -> 44 44 > let cwd = Eio.Stdenv.cwd env in 45 45 > let db = Sqlite.create Eio.Path.(cwd / "cli_test.db") in 46 - > (match Sqlite.get db "hello" with 46 + > (match Sqlite.find db "hello" with 47 47 > | Some v -> Printf.printf "hello = %s\n" v 48 48 > | None -> print_endline "hello not found"); 49 - > (match Sqlite.get db "test" with 49 + > (match Sqlite.find db "test" with 50 50 > | Some v -> Printf.printf "test = %s\n" v 51 51 > | None -> print_endline "test not found"); 52 52 > Sqlite.close db