Skip to content

Adapter module providing funtionallities to use simple-odata-server package with mongodb

License

Notifications You must be signed in to change notification settings

sws-computersysteme/simple-odata-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Adapter module providing funtionallities to use simple-odata-server package with mongodb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published