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