How to use the Decimal128 function from mongodb
Find comprehensive JavaScript mongodb.Decimal128 code examples handpicked from public code repositorys.
GitHub: mongo-js/mongojs
![mongo-js profile picture](/mongo-js.png?size=40)
38 39 40 41 42 43 44 45 46
module.exports.ObjectId = mongodb.ObjectId module.exports.ObjectID = mongodb.ObjectID module.exports.Symbol = mongodb.Symbol module.exports.Timestamp = mongodb.Timestamp module.exports.Map = mongodb.Map module.exports.Decimal128 = mongodb.Decimal128 // Add support for default ES6 module imports module.exports.default = module.exports
+ 15 other calls in file
0 1 2 3 4 5 6 7 8 9 10 11 12
const Router = require('express').Router; const mongodb = require('mongodb'); const db = require('../db'); const Decimal128 = mongodb.Decimal128; const ObjectId = mongodb.ObjectId; const router = Router();
mongodb.ObjectId is the most popular function in mongodb (5685 examples)