utilities/handler-helper.js
function _list(model, query, Log) {
  let request = { query: query }
  return _listHandler(model, request, Log)
}
function _list(model, query, Log) {
  let request = { query: query }
  return _listHandler(model, request, Log)
}
function _list ( model , query , Log ) { let request = { query : query } return _listHandler ( model , request , Log ) }
List function exposed as a mongoose wrapper.
@param model: A mongoose model.
@param query: rest-hapi query parameters to be converted to a mongoose query.
@param Log: A logging object.
@returns {object} A promise for the resulting model documents or the count of the query results.
@private
List function exposed as a mongoose wrapper .