may be it is worth to split find and findall
local index = tuple:find(value) -- return first index that eq value
local indexes = { tuple:findall(value) } -- return all indexes that eq value
--
You received this bug notification because you are a member of Tarantool
Development Team, which is subscribed to tarantool.
https://bugs.launchpad.net/bugs/1028769
Title:
please add method to tuple
Status in Tarantool - an efficient in-memory data store:
Confirmed
Bug description:
it would be nice to have a method tuple:append
local tuple1 = box.select(10, 20);
local tuple2 = tuple1:append(1,2,3)
box.replace( 10, tuple2:unpack() )
PS: also it would be nice to have method tuple:splice(offset, len,
...)
To manage notifications about this bug go to:
https://bugs.launchpad.net/tarantool/+bug/1028769/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help : https://help.launchpad.net/ListHelp