overleaf/services/track-changes/app/coffee/mongojs.coffee
2015-12-17 14:11:44 +00:00

9 lines
251 B
CoffeeScript

Settings = require "settings-sharelatex"
mongojs = require "mongojs"
bson = require "bson"
db = mongojs(Settings.mongo.url, ["docHistory", "projectHistoryMetaData", "docHistoryStats"])
module.exports =
db: db
ObjectId: mongojs.ObjectId
BSON: bson