Module: js-data-mongodb

Registered as js-data-mongodb in NPM.

Details
Source
src/index.js, line 1022
Examples

npm i --save js-data-mongodb@rc js-data@rc mongodb bson

var MongoDBAdapter = require('js-data-mongodb').MongoDBAdapter
var adapter = new MongoDBAdapter()

import {MongoDBAdapter} from 'js-data-mongodb'
const adapter = new MongoDBAdapter()

Classes

MongoDBAdapter

Members


<static> MongoDBAdapter

Example
import {MongoDBAdapter} from 'js-data-mongodb'
const adapter = new MongoDBAdapter()

<static> version

Details of the current version of the js-data-mongodb module.

Details
Type Source
Object src/index.js, line 990
Properties:
Name Type Description
version.full String

The full semver value.

version.major Number

The major version number.

version.minor Number

The minor version number.

version.patch Number

The patch version number.

version.alpha String | Boolean

The alpha version value, otherwise false if the current version is not alpha.

version.beta String | Boolean

The beta version value, otherwise false if the current version is not beta.

Example
import {version} from 'js-data-mongodb'
console.log(version.full)