2013-08-08 11:42:14 -04:00
|
|
|
Settings = require "settings-sharelatex"
|
|
|
|
mongojs = require "mongojs"
|
2014-02-26 07:11:45 -05:00
|
|
|
db = mongojs.connect(Settings.mongo.url, ["docHistory"])
|
2013-08-08 11:42:14 -04:00
|
|
|
module.exports =
|
|
|
|
db: db
|
|
|
|
ObjectId: mongojs.ObjectId
|
|
|
|
|
|
|
|
|