MongoDB.ReleaseAll
------------------

Frees all MongoDB objects.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [MongoDB](component_MongoDB.md) | [12.3](newinversion123.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "MongoDB.ReleaseAll" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Frees all MongoDB objects.  
Be aware that other scripts may still need one of the connections.  
So this is more for debugging as way to kill all connections in one call.  
### Examples

Cleanup:

 Set Variable \[ $r ; Value: MBS ( "MongoDB.ReleaseAll" ) \]  
### See also

- [DynaPDF.ReleaseAll](DynaPDFReleaseAll.md)
- [MongoDB.Release](MongoDBRelease.md)
- [WinPDF.ReleaseAll](WinPDFReleaseAll.md)

### Example Databases

- [MongoDB/MongoDB Blog](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/MongoDB/MongoDB%20Blog.shtml#6ScriptAnchor_)

### Blog Entries

- [New MongoDB Example](https://www.mbsplugins.de/archive/2022-07-25/New_MongoDB_Example/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 22nd May 2022 , last changed 27th August 2023

  
[MongoDB.Release](MongoDBRelease.md) - [MongoDB.Rename](MongoDBRename.md)

[HTML Version](MongoDBReleaseAll.shtml)