I was just thinking on this problem the other day.... The only thing I can think of is looking at the _rev of the document. Unfortunately, the format of the _rev has changed in the past, and it may change in the future. So I think we're supposed to treat it as an opaque token.
Hmm... Hopefully someone else has a better solution. --Zach On Fri, May 28, 2010 at 4:33 AM, Pavan Kumar <[email protected]> wrote: > Hi , > > using _changes API with filters, can i detect if the document is a newly > Created one or Modified one ? What i understand now is that for both of the > scenarios ( new documents added or existing document changed ) _changes API > will give a reply back. > > Is there a way to differentiate ? > > Thanks, > Pavan >
