Front page | perl.kiokudb |
Postings from July 2009
KiokuDB MongoDB backend
Thread Next
From:
Ask Bjørn Hansen
Date:
July 22, 2009 23:29
Subject:
KiokuDB MongoDB backend
Message ID:
813E86DF-8D01-46C3-8DF2-E009DA32209F@develooper.com
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/
Thread Next
-
KiokuDB MongoDB backend
by Ask Bjørn Hansen