[sr-dev] git:master: db_mongodb: new module offering DB APIv1 connector for MongoDB NoSQL server

Daniel-Constantin Mierla miconda at gmail.com
Wed Sep 10 11:45:48 CEST 2014


Module: sip-router
Branch: master
Commit: 53771bd598012b1029b06797c3d49026a8514cdd
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=53771bd598012b1029b06797c3d49026a8514cdd

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Sep 10 11:39:13 2014 +0200

db_mongodb: new module offering DB APIv1 connector for MongoDB NoSQL server

- initial version, tested for INSERT (e.g., can be used with acc module)
- UPDATE and DELETE implemented as well, no option to test them yet
  alone
- SELECT implemented for basic queries, but store result not implemented
  yet -- needs to map the requested fields and types (to be fixed very
  soon)
- no raw query yet (an ndb alternative to follow)

---

 modules/db_mongodb/Makefile                 |   27 ++
 modules/db_mongodb/README                   |   97 +++++
 modules/db_mongodb/db_mongodb_mod.c         |  101 ++++++
 modules/db_mongodb/doc/Makefile             |    4 +
 modules/db_mongodb/doc/db_mongodb.xml       |   37 ++
 modules/db_mongodb/doc/db_mongodb_admin.xml |   96 +++++
 modules/db_mongodb/mongodb_connection.c     |   82 +++++
 modules/db_mongodb/mongodb_connection.h     |   44 +++
 modules/db_mongodb/mongodb_dbase.c          |  516 +++++++++++++++++++++++++++
 modules/db_mongodb/mongodb_dbase.h          |   92 +++++
 10 files changed, 1096 insertions(+), 0 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=53771bd598012b1029b06797c3d49026a8514cdd



More information about the sr-dev mailing list