Re: KiokuDB MongoDB backend
[email protected] (Ask Bjørn Hansen) Sun, 2 Aug 2009 03:52:51 -0700
| Newsgroups | perl.kiokudb |
|---|---|
| Message-ID | <[email protected]> |
On Jul 22, 2009, at 23:29, Ask Bj=F8rn Hansen wrote: > Hi everyone, > > I started putting together a MongoDB backend for KiokuDB. I've only =20= > tested it with the development version of MongoDB.pm[1]. > > Comments and patches more than welcome -- this code is my first real =20= > use of KiokuDB. Eh, just realized that I forgot to include a link to the KiokuDB code: http://github.com/abh/kiokudb-backend-mongodb/tree - ask > The first test failure (of about a dozen) is the "can't insert =20 > duplicate" test. Right now my 'insert' method just updates if the =20 > object has an ID and exists already (and otherwise inserts). How =20 > can I tell if I should update or insert? > > I'm also getting a warning: "Not inlining a destructor for =20 > MongoDB::Cursor since it defines its own destructor." which I've no =20= > idea what I'm supposed to do about. > > > - ask > > [1] http://github.com/mongodb/mongo-perl-driver/tree/master > > --=20 > http://develooper.com/ - http://askask.com/ >