Platforms to show: All Mac Windows Linux Cross-Platform
MongoChangeStreamMBS class New in 23.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | MongoDB | MBS MongoDB Plugin | 23.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Example:
Dim pipeline As String = "{}"
Dim stream As MongoChangeStreamMBS = Collection.Watch(pipeline)
// now do inserts
// and now query changes
Dim changeJSON As String
While stream.NextChange(changeJSON)
MessageBox changeJSON
Wend
Use this class to audit a collection, database or client for changes.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 2 properties
- 4 methods
- method Constructor Private
- method ErrorDocument(byref ReplyJSON as String) as Boolean
- method NextChange(byref RecordJSON as String) as Boolean
- method StreamResumeToken as String
This class has no sub classes.
Some methods using this class:
- MongoClientMBS.Watch(pipelineJSON as String, OptionsJSON as String = "") as MongoChangeStreamMBS
- MongoCollectionMBS.Watch(pipelineJSON as String, OptionsJSON as String = "") as MongoChangeStreamMBS
- MongoDatabaseMBS.Watch(pipelineJSON as String, OptionsJSON as String = "") as MongoChangeStreamMBS
Blog Entries
The items on this page are in the following plugins: MBS MongoDB Plugin.
MLUpdateTaskMBS - MongoClientMBS
