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

MongoDB.CloseChangeStream

Closes change stream.

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

Parameters

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

Result

Returns OK or error.

Description

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.ChangeStreamResumeToken - MongoDB.CloseCollection