More natural interface for SQLite wrapper
Alexey Romanov
alexey.v.romanov@REDACTED
Mon Nov 22 14:14:51 CET 2010
I am working on my fork of the Erlang wrapper for SQLite 3
(https://github.com/alexeyr/erlang-sqlite3) and one this question
arose: which Erlang values should correspond to SQLite types
(http://www.sqlite.org/datatype3.html) TEXT and BLOB? Currently TEXT
is any iodata (i.e. binary or iolist), and BLOB is represented by
tuple {blob, Binary}. The alternative would be to allow only iolists
as TEXT, and represent blobs as binaries. Which would be easier to
use, in your opinion?
Yours, Alexey Romanov
More information about the erlang-questions
mailing list