Skip to content
Snippets Groups Projects
Commit ef5e477a authored by Lucas Gabriel Lima's avatar Lucas Gabriel Lima
Browse files

small fix

parent c5bc6f5f
No related branches found
No related tags found
1 merge request!116Release v1.0.0
Pipeline #
......@@ -111,7 +111,7 @@ rqf.addField({
pibpercapitaApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
log.debug(req.sql.toParam());
req.sql.from('ibge_pib')
.field('SUM(ibge_pib.pib)/SUM(ibge_pib.populacao)', 'pibpercapita')
.field('SUM(ibge_pib.pib)/SUM(ibge_pib.populacao)', 'total')
.field('ibge_pib.ano_censo', 'year')
.group('ibge_pib.ano_censo')
.order('ibge_pib.ano_censo')
......
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