rudiment.js
function(id) {
      var that = this;

      return this._dbApi.read(id).then(function(doc) {
        return that._readDoc(doc);
      });
    }
function(id) {
      var that = this;

      return this._dbApi.read(id).then(function(doc) {
        return that._readDoc(doc);
      });
    }
function ( id ) { var that = this ; return this . _dbApi . read ( id ) . then ( function ( doc ) { return that . _readDoc ( doc ) ; } ) ; }
Get a document from the database by database ID

@param {String} id
@return {Promise}
Get a document from the database by database ID