[2pt] feedback: space_object:frommap() | Tarantool
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 15
- Forks
- 49
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
Product: Tarantool
Since: 2.4
Audience/target: dev
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_space/frommap/
SME: @ Totktonada
Details
Missing info on behavior in case of an error.
<…>ь кортеж); если {table = true}, то возвращается таблица.
**|возвращает:кортеж или таблица.
тип возвращаемого значения:
кортеж или таблицаВозможные ошибки: отсутствует объект спейса space_object, или в спейсе нет формата; «unknown field» (неизвестное поле).|**
Пример:
COPYformat1 = {{name='a',type='unsigned'},{name='b',typ<…>
https://www.tarantool.io/ru/doc/latest/reference/reference_lua/box_space/frommap/
При ошибках frommap возвращает nil, err (см. https://github.com/tarantool/tarantool/commit/f89b5ab0a2fc0cd4b5787603def77067d5539e3f)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the English root document for box_space:frommap() and compare it with the Russian page and the linked Tarantool commit f89b5ab0a2fc0cd4b5787603def77067d5539e3f. Document the error behavior described in the issue, including that frommap returns nil and err, and ensure the possible-errors section is accurate.
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
- Clearly specified
- Newbie friendliness
- 35/100