$begin

Initiates a transaction of the given mode.
Syntax
    $begin{DIRTY_READ}
    $begin{READ}
    $begin{UPDATE}
DocumentationBegin initiates a transaction.
This will only succeed if there is not already a transaction in progress.
Usually the transaction mode is determined by the script parser automatically and stored to
the $META function where you can also overwrite it.
If you would like to be able to handle transactions in a more sensible way than
using the $META function allows then $begin, $commit, $rollback is the right choice.
    Parameters:
      transaction mode (currently supported modes are DIRTY_READ, READ, UPDATE (the $META function also knows transaction mode NONE))
Examples
    $commit{NONE} $// you usually would set transaction mode NONE in $META...
    $set{needUpdate}{0}
    $if{$get{needUpdate}}
      {$begin{UPDATE}}
      {$begin{DIRTY_READ}}
GroupSpecial
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters0
Maximum parameters 2