Arango PHP ODM

Transaction

AbstractYes

Base Transaction class

Tags
author

Lucas S. Vieira

Table of Contents

Properties

$connection  : Connection
Connection object
$defaultOptions  : array<string|int, mixed>
Some default options for transaction Sets by default, 32MB as transaction size limit and waits server write all data on disk before return any response.
$options  : array<string|int, mixed>
StreamTransaction options

Methods

__construct()  : mixed
Transaction constructor.

Properties

$defaultOptions

Some default options for transaction Sets by default, 32MB as transaction size limit and waits server write all data on disk before return any response.

protected array<string|int, mixed> $defaultOptions = ['maxTransactionSize' => 32000000, 'waitForSync' => true, 'allowImplicit' => false, 'lockTimeout' => 30]

Also, set by default a lock timeout of 30 seconds.

$options

StreamTransaction options

protected array<string|int, mixed> $options

Methods


        
On this page

Search results