Skip to content
Snippets Groups Projects
Commit a8a9aaba authored by Fernando Erd's avatar Fernando Erd :ok_hand:
Browse files

Change where in age_range in rate school

parent 714c1e40
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!103Change rate school
Pipeline #
......@@ -283,7 +283,6 @@ rateSchoolApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
.from('pnad')
.group('pnad.ano_censo')
.order('pnad.ano_censo')
.where('pnad.faixa_etaria_31_03 >= 1 AND pnad.faixa_etaria_31_03 <= 6');
req.queryIndex.freq_total = req.querySet.push(freq_total) - 1;
let freq_nursery = req.sql.clone();
......@@ -293,7 +292,6 @@ rateSchoolApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
.group('pnad.ano_censo')
.order('pnad.ano_censo')
.where('pnad.frequenta_escola_creche = 2')
.where('pnad.faixa_etaria_31_03 >= 1 AND pnad.faixa_etaria_31_03 <= 6');
req.queryIndex.freq_nursery = req.querySet.push(freq_nursery) - 1;
next();
......
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