如何以编程方式向我的TypeError: req.send is not a function
at app.get (/home/sambulo/Desktop/express-server/index.js:15:7)
at Layer.handle [as handle_request] (/home/sambulo/Desktop/express-server/node_modules/express/lib/router/layer.js:95:5)
at next (/home/sambulo/Desktop/express-server/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/home/sambulo/Desktop/express-server/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/home/sambulo/Desktop/express-server/node_modules/express/lib/router/layer.js:95:5)
at /home/sambulo/Desktop/express-server/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/home/sambulo/Desktop/express-server/node_modules/express/lib/router/index.js:335:12)
at next (/home/sambulo/Desktop/express-server/node_modules/express/lib/router/index.js:275:10)
at expressInit (/home/sambulo/Desktop/express-server/node_modules/express/lib/middleware/init.js:40:5)
at Layer.handle [as handle_request] (/home/sambulo/Desktop/express-server/node_modules/express/lib/router/layer.js:95:5)
配置中添加多个记录器?
直到现在,我已经成功添加了具有多个目标的1个配置:
SELECT COUNT(*),
SUM(CASE WHEN MONTH[CreatedDate] = MONTH(GETDATE()) AND YEAR(CreatedDate) = YEAR(GETDATE()) THEN 1 ELSE 0 END) as SubCountWithCriteria
FROM [Users]
我想添加更多具有特定目标的记录器。