https://github.com/sws-computersysteme/simple-odata-mongodb
Adapter module providing funtionallities to use simple-odata-server package with mongodb
https://github.com/sws-computersysteme/simple-odata-mongodb
Last synced: 2 months ago
JSON representation
Adapter module providing funtionallities to use simple-odata-server package with mongodb
- Host: GitHub
- URL: https://github.com/sws-computersysteme/simple-odata-mongodb
- Owner: sws-computersysteme
- License: mit
- Created: 2022-02-28T11:50:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-28T17:10:14.000Z (over 4 years ago)
- Last Synced: 2025-09-07T10:36:45.731Z (10 months ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://www.npmjs.com/package/simple-odata-server)
[GitHub](https://github.com/pofider/node-simple-odata-server#readme)
## 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](https://www.sws.de/)