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