whole_func_string: function findByIdQueryParams (request, config) {
      return typeof config.baseQuery === 'undefined' ? {'id': request.params.id} : _.merge({'id': request.params.id}, underscore(config.baseQuery(request)))
  }
func_code_string: function findByIdQueryParams (request, config) {
      return typeof config.baseQuery === 'undefined' ? {'id': request.params.id} : _.merge({'id': request.params.id}, underscore(config.baseQuery(request)))
  }
func_documentation_string: Builds the "find by id" WHERE clause query param map by taking into consideration config.baseQuery.