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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

MongoDB.List

Lists all IDs of current MongoDB objects.

Component Version macOS Windows Linux Server iOS SDK
MongoDB 12.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "MongoDB.List" )

Parameters

none

Result

Returns list or error.

Description

Lists all IDs of current MongoDB objects.
Returns IDs for all MongoDB objects in memory. If this list is growing, you may have forgotten to call MongoDB.Release in your scripts.
Normally after all scripts are done, this list should be empty.

Examples

List all object IDs:

Set Variable [$list; Value: MBS( "MongoDB.List" ) ]

See also

Release notes

Blog Entries

This function is free to use.

Created 15th October 2022, last changed 27th August 2023


MongoDB.LibraryVersion - MongoDB.MaxBSONSize

💬 Ask a question or report a problem