local orders = box.schema.space.create('orders')
box.schema.sequence.create('orderId')
orders:create_index('id', {sequence='orderId'})
orders:create_index('price', {unique=false, parts={2, 'integer'}})
local bestOrder = orders.index.price:min()
I'm searching best order (minimal price) with min()
function over secondary index. How is Tarantool sorting records if they have the same price (secondary index)? I tested and look like by primary index. Is this behaviour standardized?