Skip to content

SQL_EXPR functions as default values #3837

Open
@TarantoolBot

Description

@TarantoolBot

Product: Tarantool
Since: 3.0
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_schema/func_create/#lua-data.function_options.language
SME: @ ImeevMA

Details

SQL_EXPR functions can now be set as default values. Note that all
arguments to the SQL_EXPR functions will be replaced by the space field
'default' value. This only matters for the SQL_EXPR used as default from
Lua, since in SQL it is not allowed to have arguments in the default
expression.
Requested by @ImeevMA in tarantool/tarantool@695e9b4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new functionalitysql[location] SQL manual

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions