Updated at July 17, 2026 02:08 PM
tuple_object:unpack()
tuple_object
If t is a tuple instance, t:unpack() will return all fields,
t:unpack(1) will return all fields starting with field number 1,
t:unpack(1,5) will return all fields between field number 1 and field
number 5.
Returns
field(s) from the tuple.
Return type
lua-value(s)
In the following example, a tuple named t is created and then all its
fields are selected, then the result is returned.
tarantool> t = box.tuple.new{'Fld#1', 'Fld#2', 'Fld#3', 'Fld#4', 'Fld#5'}---...tarantool> t:unpack()---- Fld#1- Fld#2- Fld#3- Fld#4- Fld#5...