Answer the question
In order to leave comments, you need to log in
How to select by multi part index in tarantool?
Actually there is an index
box.space.posts:create_index('category_listing', {
type = 'tree',
parts = { 8, 'integer', 12, 'string' } ,
unique = false,
if_not_exists = true
});
box.space.posts.index.category_listing:select({ 1486499758, 'videos' } , {
iterator = box.index.GT,
limit = limit,
offset = offset
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question