aberlasters
aberlasters

Reputation: 103

Does MongoDB Panache support change streams?

Does MongoDB Panache offer support for change streams? I cannot find any information about it online.

Upvotes: 0

Views: 375

Answers (1)

loicmathieu
loicmathieu

Reputation: 5562

There is nothing specific inside MongoDB with Panache for change streams.

You can the underlying collection or database from your Panache entity/repository via the collection() or database() method. Then you can use the standard watch() method to define a change stream.

Upvotes: 2

Related Questions