beginTransaction

 

 

Overview

The beginTransaction function opens the specified ObjectRepository database archive file {aGor} and marks the start of a series of transactions. When a beginTransaction function is evaluated, the ObjectRepository treats all transactions as temporary until the abortTransaction, or commitTransaction functions are evaluated. If an abortTransaction function is evaluated, all objects stored in the ObjectRepository, up to the previous beginTransaction, are rolled back.

Usage

Use the beginTransaction function to open an archive file and start a series of transactions.

 

Syntax


Expression:

(beginTransaction aGor )


Arguments Name Type Description
Argument:aGorObjectRepository The ObjectRepository whose database archive file is to be opened

Returns:

Returns the Boolean value true, or an error value if an error occurred.



 

Examples

Here are a number of links to Lambda coding examples which contain this instruction in various use cases.

 

Argument Types

Here are the links to the data types of the function arguments.

ObjectRepository Boolean

Here are also a number of links to functions having arguments with any of these data types.

abortTransaction addMethod attachLibrarian badd
bcompareEQ bcompareGE bcompareGT bcompareLE
bcompareLT bcompareNE bdiv beginTransaction
binaryInsert binaryNand binaryNor binaryNot
binaryNxor binarySearch bitwiseAnd bitwiseNand
bitwiseNor bitwiseNot bitwiseNxor bitwiseOr
bitwiseShiftLeft bitwiseShiftRight bitwiseXor bmod
bmul boolean ccompareEQ ccompareGE
ccompareGT ccompareLE ccompareLT ccompareNE
character checkPointTransaction clear commitTransaction
compareEQ compareGE compareGT compareLE
compareLT compareNE compare comparison
compile cons debug delete
detachLibrarian disassemble display exportCsv
exportSbf exportTab fdisplay fileClose
fileCopy fileDir fileDisplay fileErase
fileOpen fileRead fileWrite filewriteln
findBlock gc icompareEQ icompareGE
icompareGT icompareLE icompareLT icompareNE
importCsv importSbf importTab inside
inspect integer isAtom isBitVector
isBoolean isBound isByteVector isCharAlphabetic
isCharAlphanumeric isCharLowercase isCharName isCharNumeric
isCharUppercase isCharWhitespace isCharacter isComplex
isDate isDirectory isEqual isError
isEven isExact isFloatVector isIdentical
isImmediate isInexact isInside isIntegerVector
isInteger isMatrix isMember isMoney
isNegative isNull isNumberMatrix isNumberVector
isNumber isObjectVector isObject isOdd
isPair isPcodeVector isPositive isTransaction
isType isVector isZero length
lisp list loadModule loadRepository
loadWorkspace logConsole macroReplace makeQuotedList
member methodsOf money morph
ncompareEQ ncompareGE ncompareGT ncompareLE
ncompareLT ncompareNE new number
onError pair quit refLibrarian
ref remove rename reset
saveImmediate saveModule saveObject saveRepository
saveWorkspace setBlock setCar set
setf setq sizeof sort
stringCiEQ stringCiGE stringCiGT stringCiLE
stringCiLT stringCiNE substringCiEQ substringCiGE
substringCiGT substringCiLE substringCiLT substringCiNE
substringEQ substringGE substringGT substringLE
substringLT substringNE systemCheck vectorFill
version writelg writeln

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE