walk(params) {
    const data = this._formatData(params);

    const dataValidation = this._checkParameters(data, ['index', 'collection']);
    if(dataValidation instanceof Error) {
      return Bluebird.reject(dataValidation);
    }

    return this.mongo.walk(data);
  }
/**
   * Walk a query or a whole collection.
   *
   * Example use:
   * walk(params)
   *  .then(cursor => {
   *    while (cursor.hasNext()) {
   *      let document = cursor.next();
   *    }
   *  });
   *
   *  It gives direct access to the MongoDB Cursor object.
   * @param {object} params
   * @returns {Cursor} a MongoDb Cursor to use with hasNext and next
   */
Walk a query or a whole collection.

It gives direct access to the MongoDB Cursor object.
@param {object} params
@returns {Cursor} a MongoDb Cursor to use with hasNext and next
Walk a query or a whole collection . It gives direct access to the MongoDB Cursor object . @param { object } params @returns { Cursor } a MongoDb Cursor to use with hasNext and next
walk(params) {
    const data = this._formatData(params);
    const dataValidation = this._checkParameters(data, ['index', 'collection']);
    if(dataValidation instanceof Error) {
      return Bluebird.reject(dataValidation);
    }
    return this.mongo.walk(data);
  }
walk ( params ) { const data = this . _formatData ( params ) ; const dataValidation = this . _checkParameters ( data , [ 'index' , 'collection' ] ) ; if ( dataValidation instanceof Error ) { return Bluebird . reject ( dataValidation ) ; } return this . mongo . walk ( data ) ; }
Walk a query or a whole collection.
Walk a query or a whole collection .