ArangoTransaction

io.funkode.arangodb.ArangoTransaction
class ArangoTransaction[Encoder[_], Decoder[_]](databaseName: DatabaseName, transactionId: TransactionId)(using arangoClient: ArangoClient[Encoder, Decoder])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def abort(using Decoder[ArangoResult[Transaction]]): AIO[Transaction]

Abort a running server-side transaction. Aborting is an idempotent operation. It is not an error to abort a transaction more than once.

Abort a running server-side transaction. Aborting is an idempotent operation. It is not an error to abort a transaction more than once.

Attributes

def commit(using Decoder[ArangoResult[Transaction]]): AIO[Transaction]

Commit a running server-side transaction. Committing is an idempotent operation. It is not an error to commit a transaction more than once.

Commit a running server-side transaction. Committing is an idempotent operation. It is not an error to commit a transaction more than once.

Attributes

def status(using Decoder[ArangoResult[Transaction]]): AIO[Transaction]

Fetch status of a server-side transaction

Fetch status of a server-side transaction

Attributes