简体   繁体   中英

Mongodb : Stream change

The rc0 of mongoldb 3.6 as been released till last Friday, and I have tested the new feature regarding the stream change.

My tests show me that I can retrieve the inserted/updated (did not test the replace yet) document when the operation occurred in mongo shell.

But here is the thing: When I perform a delete operation under mongo shell, I can't retrieve the document with the same java code.

I know that the driver 3.6.0-beta2 is not ready, but I'm wondering if this should appear normal to retrieve such a thing when deleting a document.

Right now I don't see why this feature will not be available. I know also this is speculation, but just like to have your opinion about this.

更改流将在文档删除时触发事件(请参阅手册),但由于在触发时文档已被删除,因此结果仅包含文档 ID/键,但不包含字段数据。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM