lib/oboeRequest.js
/**
   * Read a data event, return an object with a single row.
   */
Read a data event, return an object with a single row.
Read a data event return an object with a single row .
_readRow(event, callback) {
    if (this._mapMetadata === false) {
      callback(event);
    } else {
      let data = event;
      data = {};
      this._columns.forEach((key, index) => data[key] = event[index]);
      if (callback) {
        callback(data);
      }
    }
    return oboe.drop;
  }
_readRow ( event , callback ) { if ( this . _mapMetadata === false ) { callback ( event ) ; } else { let data = event ; data = { } ; this . _columns . forEach ( ( key , index ) => data [ key ] = event [ index ] ) ; if ( callback ) { callback ( data ) ; } } return oboe . drop ; }
Read a data event, return an object with a single row.
Read a data event return an object with a single row .