docs: function incrementDocument(params) {
    var doc = (collections[params.collection] || {})[params.id]
  
    if (doc !== undefined) {
      doc[params.key] = (doc[params.key] || 0) + (params.by || 1)
  
      eventEmitter.emit('documentIncremented', params.collection, doc)
    }
  }