English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[1/2 OT] Indexing (and mergeable Index-algorithms)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-18 (14:37)
From: Florian Weimer <fw@d...>
Subject: Re: [Caml-list] [1/2 OT] Indexing (and mergeable Index-algorithms)
* Oliver Bandel:

>> After a quick search that only returned one dead project (Alpha, v0.0.1,
>> last updated 2002), I have to ask: are there any OCaml bindings for
>> BerkeleyDB?
> Isn't Dbm-module that thing?

No, it isn't.  Berkeley DB offers much richer functionality, including
transactions and replication.

> But there only string -> string  can be used.
> So your key as well as value has to be string-type.

You have to use some serialization/deserialization code.  The same
issue arises if you use an SQL database.