Skip to content

Update index definition description #919

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
olegrok opened this issue Sep 23, 2019 · 2 comments
Closed

Update index definition description #919

olegrok opened this issue Sep 23, 2019 · 2 comments
Assignees
Labels
bug Something isn't working manual [location] Tarantool manual, no definite location

Comments

@olegrok
Copy link

olegrok commented Sep 23, 2019

https://www.tarantool.io/ru/doc/2.2/book/box/data_model/

Example:

i = s:create_index('primary', {type = 'hash', parts = {1, 'unsigned'}})

But it's old way to create index that was designed before option is_nullable was introduced.

Let's change example to

i = s:create_index('primary', {type = 'hash', parts = {field = 1, type = 'unsigned'}})
@olegrok
Copy link
Author

olegrok commented Sep 27, 2019

@lenkis lenkis added 2.2 bug Something isn't working manual [location] Tarantool manual, no definite location labels Sep 27, 2019
@olegrok
Copy link
Author

olegrok commented Oct 7, 2019

Also please update here https://www.tarantool.io/en/doc/2.2/book/box/box_space/#box-space-create-index

parts section

@lenkis lenkis assigned Onvember and unassigned v-izmalkov Oct 21, 2019
Onvember added a commit that referenced this issue Oct 27, 2019
Onvember added a commit that referenced this issue Oct 30, 2019
lenkis added a commit that referenced this issue Oct 31, 2019
Fixes gh-842 Make each function a link
Fixes gh-914 Module string
Fixes gh-919 Update index definition description
Fixes gh-958 Module utf8
@lenkis lenkis closed this as completed Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working manual [location] Tarantool manual, no definite location
Projects
None yet
Development

No branches or pull requests

4 participants