Skip to content

Options in box.atomic #3290

Closed
Closed
@TarantoolBot

Description

@TarantoolBot

Product: Tarantool
Since: 2.11
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_txn_management/atomic/
SME: @ alyapunov

Details

Now it's allowed to pass transaction options in the first argument
of box.atomic(..) call. The options must be a table, exactly as
in box.begin(..). If options are passed as the first arguments,
the second and the rest arguments are expected to be a functions
and its arguments, like in usual box.atomic.
Requested by @alyapunov in tarantool/tarantool@9d1cbda.

Metadata

Metadata

Assignees

Labels

2.112.11 release and the associated technical debtfeatureA new functionalityreference[location] Tarantool manual, Reference partserver[area] Task relates to Tarantool's server (core) functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions