调用getQuery并传递请求的参数的方法是什么?
var Place= require('../models/place.js');
findAllPlaces = function (req, res, next) {
Place.getQuery(req.query).exec(function(err, places) {
console.log(JSON.parse(JSON.stringify(places)));
res.send(places);
});
function getQuery (rawParams) {
console.log(JSON.parse(JSON.stringify(rawParams)));
}
}