Можно ли получить доступ к параметрам строки запроса запросов в представление?
Рассмотрите этот запрос ... GET / database / _designs / foo /? bar = 1
И эта карта ...
views {
foo: {
map: function (document)
{
// I want to access querystring parameter "bar" here! But how?
// I'd like to be able to do something along the lines of...
if (bar > 0) emit(null, document);
}
}
}