Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


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 license.

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

MongoDB.ClientCommandWithServerId - MongoDB.CloseCollection