Skip to content
Snippets Groups Projects
Commit 543c3a28 authored by Henrique Varella Ehrenfried's avatar Henrique Varella Ehrenfried :speech_balloon:
Browse files

Merge branch 'demanda4' into 'development'

Demanda4

See merge request !46
parents 5a702b2a 451f2376
Branches
No related tags found
2 merge requests!48Development,!46Demanda4
Pipeline #24077 failed
......@@ -128,7 +128,7 @@ rqf.addField({
cad_unico_count.get('/', rqf.parse(), rqf.build(), function (req, res, next) {
console.log(req.sql.toString());
req.sql.field('SUM(total) AS Total').from('indigenas_development_ag');
req.sql.field('COUNT(distinct id_familia) AS Total').from('indigenas_development_ag');
next();
}, 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