lib/operations/collection_ops.js
function indexes(coll, options, callback) {
  options = Object.assign({}, { full: true }, options);
  indexInformationDb(coll.s.db, coll.s.name, options, callback);
}
function indexes(coll, options, callback) {
  options = Object.assign({}, { full: true }, options);
  indexInformationDb(coll.s.db, coll.s.name, options, callback);
}
function indexes ( coll , options , callback ) { options = Object . assign ( { } , { full : true } , options ) ; indexInformationDb ( coll . s . db , coll . s . name , options , callback ) ; }
Retrieve all the indexes on the collection.

@method
@param {Collection} a Collection instance.
@param {Object} [options] Optional settings. See Collection.prototype.indexes for a list of options.
@param {Collection~resultCallback} [callback] The command result callback
Retrieve all the indexes on the collection .