Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
MongoDB.MaxMessageSize
Returns the maximum message size allowed by the cluster.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MongoDB | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "MongoDB.MaxMessageSize"; MongoDBRef ) More
Parameters
Parameter | Description | Example |
---|---|---|
MongoDBRef | The reference number for the mongo connection. | $MongoDB |
Result
Returns number or error.
Description
Returns the maximum message size allowed by the cluster.Until a connection has been made, this will be the default of 40Mb.
Examples
Shows maximum message size:
Show Custom Dialog [ "Maximum message size:" ; MBS( "MongoDB.MaxMessageSize"; $mongo ) ]
Blog Entries
This function checks for a license.
Created 19th June 2022, last changed 20th June 2022