Skip to content

Tuple argument of default_func field option of space:format #4189

Open
@TarantoolBot

Description

@TarantoolBot

Product: Tarantool
Since: 3.2
Root documents: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_space/format/

Depends on #3617 and #3520

Details

The source tuple (i.e., the argument of DML) is now passed as a second
argument to the default_func field option of space:format.

See also tarantool/tarantool#9825 and PRD.

Please note that the tuple argument is created from the source tuple data,
which implies the following: (i) fields may not adhere to the space format;
(ii) nil fields are always nil (i.e., the default value and the
default_func are not used).
Requested by @CuriousGeorgiy in tarantool/tarantool@b32b20c.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.2featureA new functionalityreference[location] Tarantool manual, Reference part

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions