I have got questions about views in couchdb At the moment, I have a number of views (e.g. view_A, view_B.... view_Z), for each view they contains same range of keys but with different values. ie:
view_A = {"key":"key_1", "value":10}, {"key":"key_2", "value":100}
view_B = {"key":"key_1", "value":5}, {"key":"key_2", "value":2}
view_C = {"key":"key_1", "value":1}, {"key":"key_2", "value":2}
I am expecting to have a view to represent values in view_A divided by values in view_B =>
view_A_over_B = {"key":"key_1", "value":2}, {"key":"key_2", "value":50}
A view to represent values in view_C times values in view_B =>
view_C_times_B = {"key":"key_1", "value":5}, {"key":"key_2", "value":4}
Would this be possible to have a map/reduce function which is calling the views and do the calculation as mentioned like above?