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

[TEST] Still trying to make the query work

parent a0c46dd2
Branches
No related tags found
3 merge requests!449Homologa,!444dev -> hom,!441Years of study mean
......@@ -515,14 +515,13 @@ rqf.addField({
PnadNovoApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
let teste = "pnad_novo.ano_ref = media.ano_ref"
console.log(req.dims)
if (req.dims) {
for (let i in req.dims) {
teste += ` and pnad_novo.${i.table} = media.${i.tableField}`
}
}
console.log(teste)
let mean = req.sql.clone()
.from('pnad_novo')
.field('pnad_novo.ano_ref', 'ano_ref')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment