Skip to content
Snippets Groups Projects
Commit 92faeeaf authored by Rafael S Castilho's avatar Rafael S Castilho
Browse files

I430

parent 5a702b2a
No related branches found
No related tags found
2 merge requests!48Development,!46Demanda4
...@@ -148,7 +148,7 @@ rqf.addField({ ...@@ -148,7 +148,7 @@ rqf.addField({
cad_unico.get('/', rqf.parse(), rqf.build(), function (req, res, next) { cad_unico.get('/', rqf.parse(), rqf.build(), function (req, res, next) {
console.log(req.sql.toString()); console.log(req.sql.toString());
req.sql.field('SUM(total) AS Total').from('indigenas_infrastructure_ag'); req.sql.field('COUNT(total) AS Total').from('indigenas_infrastructure_ag');
next(); next();
}, query, response('cad_unico')); }, query, response('cad_unico'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment