Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1    Statistic    FMM    Blog  


Closes change stream.

Component Version macOS Windows Linux Server iOS SDK
MongoDB 13.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "MongoDB.CloseChangeStream"; MongoDBRef )   More


Parameter Description Example
MongoDBRef The reference number for the mongo connection. $MongoDB


Returns OK or error.


Closes change stream.
This function is optional to close the current change stream.
Normally it is freed when a new one is set or the MongoDB.Release function is called.
This function returns OK whether a change stream is there or not.

See also

Release notes

Blog Entries

This function checks for a paid license.

Created 18th November 2022, last changed 18th November 2022

MongoDB.ChangeStreamResumeToken - MongoDB.CloseCollection

💬 Ask a question or report a problem

Start Chat