Registered as js-data-mongodb
in NPM.
Details
Source |
---|
src/index.js, line 1006 |
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()
Members
-
<static> MongoDBAdapter
-
MongoDBAdapter class.
DetailsType Source See Constructor src/index.js, line 994 Exampleimport {MongoDBAdapter} from 'js-data-mongodb' const adapter = new MongoDBAdapter()
-
<static> version
-
Details of the current version of the
js-data-mongodb
module.DetailsType Source Object src/index.js, line 974 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.Exampleimport {version} from 'js-data-mongodb' console.log(version.full)