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

Merge branch 'portal_mec_inep' into development

parents fb564dac fca5e0c3
No related branches found
No related tags found
2 merge requests!150Portal mec school,!145v1.6.0
......@@ -46,12 +46,14 @@ rqf.addField({
portalMecInepApp.get('/', rqf.parse(), (req, res, next) => {
req.sql.field('DISTINCT escola.id', 'id')
.field('escola.nome_escola', 'school_name')
.from('escola')
.join('estado', null, 'estado.id=escola.estado_id')
.field('estado.nome', 'state_name')
.join('municipio', null, 'municipio.id=escola.municipio_id')
.field('municipio.nome', 'city_name')
next();
}, rqf.build(), query, response('portalMec_inep'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment