User Tools

Site Tools


Sidebar

tuple:slice

Q. Where would I search to find out about slice/transform? I couldn't find it here: https://www.lua.org/manual/5.1/. (2016)

A. It's a part of Tarantool's tuple API.

slice is not documented, but it, well, slices a tuple:

box.tuple.new{1, 2, 3}:slice(2) → tuple{2, 3}

Comments

Enter your comment. Wiki syntax is allowed:
X X T O S
 
tuple/slice.txt · Last modified: 2018/05/25 19:17 by eabates

Real Time Web Analytics