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

i340

parent 88c42993
Branches
No related tags found
2 merge requests!48Development,!46Demanda4
......@@ -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('COUNT(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