Re: [gnome-db] BDB

Title: Re: [gnome-db] BDB
From the plain C it's simple task working with bdb as a hash, but there are no bindings to BDB in Vala, so i should work with libgda, as the only possibility.. 
I would write vala bindings to BDB functions that i need, but i don't know C and can't find good docs on making bindings to non GObject libraries :(
fill.c is the perfect way i would like to use BDB, but it's not available in Vala (for now), if i understand it right..

2012/1/4 Denis Kuzmenok <forward_ua ukr net>

It it possible to work with BDB as a hash (key-value) storage using GDA?  
I see methods inserting values in specified row id, but don't see examples using key/value in gda. Is it possible? 
(Particularly in Vala).

Yes, Libgda supports working with BDB.
Please see the samples in samples/BDB in which the fill.c program uses the BDB libraries to create a BDB database, and the access-raw.c and access-custom.c files use Libgda to get the contents. The examples are also available online at for quick reference. If you need more information, please let me know.

For the Vala bindings, I prefer to let Daniel speak...



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]