I have resolved the issue and answered my own question - a view does appear to be updated correctly when viewed. There was an error in the example reduce function. Should read -
if (txn.timestamp < oldest.timestamp) {"
I have resolved the issue and answered my own question - a view does appear to be updated correctly when viewed. There was an error in the example reduce function. Should read -
if (txn.timestamp < oldest.timestamp) {"