From: Florian Weimer <fw@deneb.enyo.de>
To: David MENTRE <dmentre@linux-france.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Persistent storage and stability of Marshal?
Date: Wed, 28 Dec 2005 10:03:49 +0100 [thread overview]
Message-ID: <87oe31r3t6.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <87k6dptx38.fsf@linux-france.org> (David MENTRE's message of "Wed, 28 Dec 2005 10:00:43 +0100")
* David MENTRE:
> 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].
It's got manifestant types. There are strings, integers, reals and
BLOBs (and NULL, of course). You need a binding which stores integers
as integers, and not as strings, though. SQLite mostly ignores column
types and uses on;y the type of the value you insert into the
database.
prev parent reply other threads:[~2005-12-28 9:04 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
2005-12-28 9:03 ` Florian Weimer [this message]
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=87oe31r3t6.fsf@mid.deneb.enyo.de \
--to=fw@deneb.enyo.de \
--cc=caml-list@inria.fr \
--cc=dmentre@linux-france.org \
/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