2014-02-12 10:23:40 +00:00
|
|
|
Settings = require "settings-sharelatex"
|
|
|
|
mongojs = require "mongojs"
|
2017-10-12 14:08:48 +00:00
|
|
|
db = mongojs(Settings.mongo.url, ["projects", "users", "userstubs"])
|
2014-02-12 10:23:40 +00:00
|
|
|
module.exports =
|
|
|
|
db: db
|
|
|
|
ObjectId: mongojs.ObjectId
|