CouchDB's response to the _changes request is returned in this format: {"Next": 12, "identifier": "Foo", "changes": [{"red": "1-23202479633c2b380f79507a776743d5"}]}
My question is: why is the "changes" element an array? In which scenario will more than one item be returned in a change item? I have never seen an example on the Internet with more than one subject, and from my own experience I have seen only one element.
I am writing code that interacts with changes, and I would like to understand what to do if there really were more than one element.
Thanks Mike
source
share