tarantool / tarantool/doc

[3pt] feedback: Вложенный модуль box.space | Tarantool

Open
#1,690 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

design reference server triggers
Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Description

Product: Tarantool
Root document: https://www.tarantool.io/ru/doc/latest/reference/reference_lua/box_space/on_replace/
SME: @ alyapunov
Peer reviewer: @

Details

<…> > end

tarantool> box.space.X:on_replace(f)

Пример №2:
|В функции с триггером может быть до 4 параметров:|

(кортеж) старое значение до начала запроса,
(кортеж) новое зна<…>

https://www.tarantool.io/ru/doc/latest/reference/reference_lua/box_space/#box-space-on-replace

Раздел "необязательные параметры триггер-функции" желательно сделать более заметным и перенести в определение параметров триггера on_replace/before_replace.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Russian documentation pages linked in the issue, especially the box.space on_replace reference and its parameter definition. Locate the section on optional trigger-function parameters, then make it more prominent and place it with the on_replace/before_replace trigger parameters. Done means the requested information is clearly visible in the relevant parameter documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.