Platforms to show: All Mac Windows Linux Cross-Platform
Back to MongoClientMBS class.
MongoClientMBS.DataToBinary(Data as MemoryBlock) as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | MongoDB | MBS MongoDB Plugin | 23.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Converts a string or MemoryBlock to JSON for MongoDB.
Reads the bytes, converts to base64 and embeds it in a $binary JSON for use in MongoDB.
See also:
MongoClientMBS.DataToBinary(Data as String) as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | MongoDB | MBS MongoDB Plugin | 23.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Converts a string or MemoryBlock to JSON for MongoDB.
Reads the bytes, converts to base64 and embeds it in a $binary JSON for use in MongoDB.
See also:
MongoClientMBS.LogMessage(Message as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | MongoDB | MBS MongoDB Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
MongoClientMBS.NowUTC as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | MongoDB | MBS MongoDB Plugin | 23.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Value is in GMT/UTC.
e.g. { "$date" : "2023-03-09T11:39:34Z" }
MongoClientMBS.Time(SecondsSince1970 as Double) as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | MongoDB | MBS MongoDB Plugin | 23.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please pass time as seconds since 1970 and in UTC time zone.
e.g. { "$date" : "2023-03-09T11:39:34Z" }
The items on this page are in the following plugins: MBS MongoDB Plugin.