and also it would be nice if tuple:splice have the following form:

tuple:splice({4,2,3}, ...) - return (or replace) tuple[4], tuple[2],
tuple[3]

tuple:splice({4,3,2}, 1)  - replace tuple[4] by 1, and then remove
tuple[3] and tuple[2]

-- 
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

Reply via email to