[Xotcl] NSF Mongodb driver

Gustaf Neumann neumann at wu.ac.at
Sun Apr 28 02:35:02 CEST 2013


Dear Troy,

The head version in the master branch in git runs the sample 
scripts with MongoDB 2.4.4-pre (as distributed via mac 
ports). The potentially bigger dependency is the C-driver. 
I've updated it to the current version 0.7.1. The version 
supports a cursor interface, where cursors might be open 
with the -tailable flag. Note that -tailable requires capped 
collections, see e.g. example-nsf-mongo.tcl (see [1]).

The nsf mongo driver supports a low level mongo interface 
[1] (just tcl commands) and a oo interface in nx [2]. The 
current API is [3]. Let me know in case you miss something.

best regards
-gustaf neumann


[1] 
http://cvs.openacs.org/browse/nsf/library/mongodb/example-nsf-mongo.tcl?hb=true
[2] 
http://cvs.openacs.org/browse/nsf/library/mongodb/example-nx-bi.tcl?hb=true
[3] 
http://cvs.openacs.org/browse/nsf/library/mongodb/mongoAPI.decls?hb=true



On 27.04.13 00:24, Troy Heron wrote:
> Hello,
>
> Before I look at using the NSF Mongodb driver, I'd just like to know if the
> driver compatible with the latest mongodb (2.4)? Also, does it support
> tailable cursors?
>
> Thanks,
> Troy
> _______________________________________________
> Xotcl mailing list
> Xotcl at alice.wu-wien.ac.at
> http://alice.wu-wien.ac.at/mailman/listinfo/xotcl



More information about the Xotcl mailing list