morphia icon indicating copy to clipboard operation
morphia copied to clipboard

Add support for watch() on a collection

Open evanchooly opened this issue 3 years ago • 2 comments

This will likely be done as a method on Aggregation given its use of optional pipelines.

evanchooly avatar Sep 05 '22 04:09 evanchooly

@evanchooly Does watch() listen to the updates of a collection (like a mongo listener) ? And also can you expand on your comment ?

aneessh18 avatar Sep 06 '22 07:09 aneessh18

This will expose MongoCollection#watch(java.util.List<? extends org.bson.conversions.Bson>), et al, via Morphia-friendly APIs.

evanchooly avatar Dec 01 '22 04:12 evanchooly