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.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
Statistic
FMM
Blog
MongoDB.ContainerToBinary
Converts a container to JSON for MongoDB.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MongoDB | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "MongoDB.ContainerToBinary"; Container ) More
Parameters
Parameter | Description | Example |
---|---|---|
Container | The container value to use. |
Result
Returns JSON or error.
Description
Converts a container to JSON for MongoDB.Reads the container, converts to base64 and embeds it in a $binary JSON for use in MongoDB.
Examples
Try it:
MBS("MongoDB.ContainerToBinary"; MyTable::Photo)
Release notes
- Version 13.2
- Added MongoDB.ContainerToBinary and MongoDB.TextToBinary functions.
Blog Entries
This function does not need a paid license.
Created 15th March 2023, last changed 15th March 2023
