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

MongoDB.MaxBSONSize

Returns the maximum bson document size allowed by the cluster.

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

Parameters

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

Result

Returns number or error.

Description

Returns the maximum bson document size allowed by the cluster.
Until a connection has been made, this will be the default of 16Mb.

Examples

Show maximum size:

Show Custom Dialog [ "Maximum BSON size:" ; MBS( "MongoDB.MaxBSONSize"; $mongo ) ]

Blog Entries

This function checks for a license.

Created 19th June 2022, last changed 20th June 2022


MongoDB.List - MongoDB.MaxMessageSize