oldIndex property

int get oldIndex

The index of the changed document in the result set immediately prior to this DocumentChange (i.e. supposing that all prior DocumentChange objects have been applied).

-1 is returned for DocumentChangeType.added events.

Implementation

int get oldIndex;