GetPrimary (open)

Returns current primary transaction

Syntax

LOADLIB "mod::system/lib/database.whlib";

OBJECT FUNCTION GetPrimary()

Return value

OBJECT

Current primary transaction. Throws if there is no primary transaction.