I need get GET (or other) parameter in my CouchDB map() function.
P.S. I want search by polygon and for this i need to have list of points and compare with documents position.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t access any parameters in your map function. The only thing map functions do is output key/value pairs. You can then limit the rows returned based on either a single key (
key), a list of multiple keys (keys), or a range of keys (startKeyand/orendKey). See more in the docs.