overleaf/services/track-changes/app/coffee/mongojs.coffee

10 lines
251 B
CoffeeScript
Raw Normal View History

Settings = require "settings-sharelatex"
mongojs = require "mongojs"
2015-12-17 09:11:44 -05:00
bson = require "bson"
db = mongojs(Settings.mongo.url, ["docHistory", "projectHistoryMetaData", "docHistoryStats"])
module.exports =
db: db
ObjectId: mongojs.ObjectId
2015-12-17 09:11:44 -05:00
BSON: bson