code: function reducer (type, records) {
        return reduce(records, function (hash, record) {
          record = outputRecord.call(self, type, msgpack.decode(record))
          hash[record[primaryKey]] = record
          return hash
        }, {})
      }
docs: Populating memory database with results from IndexedDB.