Is there a way we could pass in values to a view function other than a key?
In the database I have a list of places with coordinates, and I want to get all the places within a distance from a point. So my view function should be able to access a radius value and a pair of coordinates, and inside the function I would calculate the distance of each place to the pair of coordinates and compare it to radius.
How can I do that with cradle or couchdb? Any help will do.