Replies: 2 comments
-
Can you show an example, I seem to be always get one document back.
You can use the See https://docs.couchdb.org/en/stable/api/database/changes.html for more details.
Your intuition is correct. However, note that in a continuous change feed a document with the same ID could appear more than once if it is being updated multiple times. |
Beta Was this translation helpful? Give feedback.
-
Hi, simplescreenrecorder-2022-07-08_07.19.47.mp4When I did use
it didn't return any document id!, However it worked with
I add new timestamp for each data and then my document will save uniquely, without any repetition, at least, I think it will be correct |
Beta Was this translation helpful? Give feedback.
-
I'm using Couchdb 3.2.2, I'm going to get newest document id, I did search on stackoverflow.com. I found changes method.
However I will get some document's id more than one!. How it possible?, Because I'm sure documents have unique ID. because they are inserting to Couchdb in every 25 seconds.
Could you please tell me how can I get document ID in real time?
Beta Was this translation helpful? Give feedback.
All reactions