From: David MENTRE <dmentre@linux-france.org>
To: Florian Weimer <fw@deneb.enyo.de>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Persistent storage and stability of Marshal?
Date: Wed, 28 Dec 2005 10:00:43 +0100 [thread overview]
Message-ID: <87k6dptx38.fsf@linux-france.org> (raw)
In-Reply-To: <87hd8uwa65.fsf@mid.deneb.enyo.de> (Florian Weimer's message of "Tue, 27 Dec 2005 21:35:14 +0100")
Hello,
Florian Weimer <fw@deneb.enyo.de> writes:
> Have a look at SQLite. I like it a lot. During the past couple of
> months, even a few Ocaml bindings have sprung into existence.
Yes, I looked at it through Dbi[1]. There is however an issue: it seems
that everything is stored as a string in an SQLite base. Returned data
after Dbi query are typed as string.
It might be an issue with Dbi itself (I haven't looked to the SQLite
binding themselves) but after looking at SQLite documentation, it does
not seem to be the case[2].
I could work around this small issue by easily converting strings to
integer, float, etc. but it seems a bit awkward to me. Beside that,
you are right the SQLite is quite interesting: full SQL database but
without the need to setup an SQL server.
Best wishes,
david
Footnotes:
[1] http://download.savannah.nongnu.org/releases/modcaml/
[2] http://www.sqlite.org/datatypes.html
""
SQLite is "typeless". This means that you can store any kind of
data you want in any column of any table, regardless of the
declared datatype of that column.
""
--
pub 1024D/A3AD7A2A 2004-10-03 David MENTRE <dmentre@linux-france.org>
5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A
next prev parent reply other threads:[~2005-12-28 9:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-27 8:34 David MENTRE
2005-12-27 10:17 ` [Caml-list] " Xavier Leroy
2005-12-29 15:30 ` N. Owen Gunden
2005-12-27 20:35 ` Florian Weimer
2005-12-28 9:00 ` David MENTRE [this message]
2005-12-28 9:03 ` Florian Weimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k6dptx38.fsf@linux-france.org \
--to=dmentre@linux-france.org \
--cc=caml-list@inria.fr \
--cc=fw@deneb.enyo.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox