UNPKG

457 BJavaScriptView Raw
1'use strict';
2
3const mongodb = require('mongodb');
4const Database = require('./lib/database');
5const Model = require('./lib/model');
6const ActionTypes = require('./lib/action-types');
7
8const x = module.exports = Database;
9x.Database = Database;
10x.Model = Model;
11x.ActionTypes = ActionTypes;
12x.Timestamp = mongodb.Timestamp;
13x.ObjectId = mongodb.ObjectId;
14x.MinKey = mongodb.MinKey;
15x.MaxKey = mongodb.MaxKey;
16x.DBRef = mongodb.DBRef;
17x.Long = mongodb.Long;