Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Check whether a multi-document transaction is in progress for this session.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MongoDB | 12.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
MongoDBRef | The reference number for the mongo connection. | $MongoDB |
Returns 1, 0 or error.
Abort transaction if we still have one:
If [ MBS( "MongoDB.InTransaction"; $Mongo ) ]
Set Variable [ $r ; Value: MBS( "MongoDB.AbortTransaction"; $mongo ) ]
End If
This function checks for a license.
Created 23th September 2022, last changed 24th September 2022