Skip to content
Snippets Groups Projects
Commit 3cdacd1b authored by Hamer Iboshi's avatar Hamer Iboshi
Browse files

fixed min year and max year

parent 35aa3a26
No related branches found
No related tags found
1 merge request!116Release v1.0.0
Pipeline #
...@@ -151,6 +151,28 @@ rqf.addField({ ...@@ -151,6 +151,28 @@ rqf.addField({
foreign: 'estado_id', foreign: 'estado_id',
foreignTable: 'pnad' foreignTable: 'pnad'
} }
}).addValue({
name: 'min_year',
table: 'pnad',
tableField: 'ano_censo',
resultField: 'year',
where: {
relation: '>=',
type: 'integer',
table: 'pnad',
field: 'ano_censo'
}
}).addValue({
name: 'max_year',
table: 'pnad',
tableField: 'ano_censo',
resultField: 'year',
where: {
relation: '<=',
type: 'integer',
table: 'pnad',
field: 'ano_censo'
}
}).addValue({ }).addValue({
name: 'ethnic_group', name: 'ethnic_group',
table: 'pnad', table: 'pnad',
......
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