0.0.2 • Published 2 years ago

@sws-computersysteme/simple-odata-mongodb v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

MongoDB Adapter Module for Simple OData Server

Description:

This module is an modern implementation of a MongoDB Adapter that can be used to interact with mongodb when using the simple-odata-server module of pofider and bjrmatos.

The simple-odata module can be found under the following links:

NPM
GitHub

Usage:

The Adapter can be applied to an odata server in the follwing way:

const MongoAdapter = require("simple-odata-mongodb");
MongoClient.connect(url, function(err, db) {
	odataServer.adapter(MongoAdapter(function(cb) { 
		cb(err, db.db('odatadb')); 
	})); 
});

Implementation provided by SWS Computersysteme:

HomePage