Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add filters by flat size and room number #5

Open
n-kb opened this issue Jun 16, 2016 · 0 comments
Open

Add filters by flat size and room number #5

n-kb opened this issue Jun 16, 2016 · 0 comments

Comments

@n-kb
Copy link
Contributor

n-kb commented Jun 16, 2016

Add parameters to the geocode method:

  • max_living_space (number), so that the SQL query uses 'AND living_space < ' + max_living_space,
  • min_living_space (number), so that the SQL query uses 'AND living_space > ' + min_living_space,
  • rooms (string), so that the SQL query uses 'AND no_rooms = ' + rooms,

Nice to have: Rather than a string, rooms could be an array and the query be: 'AND (no_rooms = ' + rooms[0] + ' OR no_rooms = '+ rooms[1] +')'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants