mongodb

Clone Tools
  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- C-code generator: * additional parameter swith "-withObj" to allow passing of internal representation and the according TclObj * * c-implemented methods: report types in "info parameter" for more builtin types. * use "-withObj" in mongodb interface * adapted regression test

  1. … 7 more files in changeset.
- nsf.c: * new file nsfPointer.c * generic new value checker ConvertToPointer to handle c-level conversions (which can be registed from nsf extensions) * extern defined interface for the pointer converter: Nsf_PointerTypeLookup(), Nsf_PointerTypeRegister(), Nsf_PointerAdd(), Nsf_PointerDelete(), Nsf_PointerInit(), Nsf_PointerExit(). - library mongodb * changed mongoAPI to pointer converter interface

  1. … 10 more files in changeset.
- mongdb: * added preliminary gridfs interface * refactored some code * added new types for "gridfs" and "gridfile" * added new example file example-nsf-gridfs.tcl

    • -0
    • +74
    ./example-nsf-gridfs.tcl
  1. … 2 more files in changeset.
- update mongodb interface to recent changes

  1. … 1 more file in changeset.
- library/mongodb: * use type int32 * updated to new nx/nsf interfaces * updated for mongo-c-driver post 0.3 (supporting result MONGO_OK for mongo_cursor_next) * factored out "mongo cond" from "mongo query"

  1. … 1 more file in changeset.
- nx-mango.tcl: * support for unique indices * support for query operators "in" and "all"

- nsfmongo.c: * support attribute selection lists for ::mongo::query (positive and negative selection)

  1. … 1 more file in changeset.
- nsfmongo.c: * upgrade to newest c-driver (verison 0.3) from git. * support connection to replica sets

  1. … 1 more file in changeset.
Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop

Conflicts:

library/mongodb/nx-mongo.tcl

- improving comments

- nsf: renamed nsf::isobject to nsf::object::exists - nsf: renamed nsf::qualify to nsf::object::qualify

  1. … 17 more files in changeset.
- nx::mongo: * replaced "arg" by "type" in spec for mongo attributes to make spec less stange

  1. … 1 more file in changeset.
- nx::mongo: * implemented type "reference" similar to "embedded" * all referenced objects are for the time being auto-dereferenced * new method "show" for mongo mapped classes * added two new example files example-nx-reference-many.tcl and example-nx-reference-one.tcl

    • -0
    • +144
    ./example-nx-reference-many.tcl
    • -0
    • +122
    ./example-nx-reference-one.tcl
  1. … 1 more file in changeset.
- nx::mongo: * added handling of bson types for timestamps and dates * provide setup based on mongo_db, mongo_collection and mongo_ns

  1. … 1 more file in changeset.
- nx::mongo: * handle fetch of embedded objects * added method count for mongo mapped classes * improve documentation

  1. … 1 more file in changeset.
- nx::mongo: * added mongo::count * obtain _id from mongo::insert * added mongo::Object.delete method for embedded and non-embedded objects * handling of mongo-embedded objects when destroying objects * simple bson pretty print function * extended examples

  1. … 1 more file in changeset.
- nx::mongo: * first step towards handling embedded objects * one more example script: example-nx-bi.tcl

  1. … 1 more file in changeset.
- improve documentation

- nx::mongo: update of the README file

- nx::mongo: Initial commit of the experimental mongoDB interface for nx

    • -0
    • +54
    ./example-nsf-mongo.tcl
    • -0
    • +90
    ./example-nx-mongo.tcl
  1. … 1 more file in changeset.