Skip to content

feedback: Вложенный модуль box.space #891

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TarantoolBot opened this issue Sep 4, 2019 · 0 comments · Fixed by #897
Closed

feedback: Вложенный модуль box.space #891

TarantoolBot opened this issue Sep 4, 2019 · 0 comments · Fixed by #897
Assignees
Labels
bug Something isn't working

Comments

@TarantoolBot
Copy link
Collaborator

<…>ие операций с данными далее в разделе.

space_object:upsert(|tuple_value|, {{operator, field_no, value}, ...})
Обновление или вставка кор<…>

https://www.tarantool.io/ru/doc/2.2/book/box/box_space/#box-space-upsert

Здесь опять неточность или двойной смысл. Лучше исправить - хотя бы на tuple - а лучше выделить, что должны быть все обязательные поля. Вот по ссылке ниже даже пример - как делать НЕ надо - так вот он очень похож на эту запись
tarantool> s:upsert({1}, {{'=', 2, 200}})

  • error: Tuple field count 1 is less than required by space format or defined indexes
    (expected at least 3)

Нужно акцентировать внимание на том, что ожидается {1, 2, 3}, а не {1}

@lenkis lenkis added 1.10 bug Something isn't working labels Sep 4, 2019
izmalk pushed a commit that referenced this issue Sep 5, 2019
Simplified yet more correct this way. Also added {}bracets around tuple in command formatting for consistency with further arguments.
@izmalk izmalk closed this as completed Sep 5, 2019
lenkis pushed a commit that referenced this issue Sep 9, 2019
Fix gh-875 feedback: Справочник по настройке
Partial Fix for gh-868 Tarantool dependency list was changed
Fix gh-882 feedback: Adding instances
Fix gh-890 feedback: Launching an application
Fix Rus gh-890 feedback: Launching an application
Fix gh-891 feedback: Вложенный модуль box.space
Fix gh-880 feedback: Using a Docker image
Fix gh-894 feedback: Monitoring a replica set
Fix gh-885 gh-886 gh-887 gh-888 gh-889 Модуль vshard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants