Skip to content
Snippets Groups Projects
Commit 57493dc8 authored by Fernando Gbur dos Santos's avatar Fernando Gbur dos Santos
Browse files

[FIX] Adding rqf.parse() and rqf.build() in root route in newPnad

parent 41246395
No related branches found
No related tags found
3 merge requests!391Hom -> Prod,!386Merge development -> homologa,!383FIrst deploy of new route 'new_pnad'
......@@ -303,7 +303,7 @@ rqf.addField({
}
}, 'filter');
PnadNovoApp.get('/', (req, res, next) => {
PnadNovoApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
req.sql.from('pnad_novo')
.field('round(sum(pnad_novo.peso_domicilio_pessoas_com_cal), 0)', 'total')
.field('pnad_novo.ano_ref', 'year')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment