#tuple_object
-
object
tuple_object
¶ -
#
<tuple_object>
¶ The
#
operator in Lua means “return count of components”. So, ift
is a tuple instance,#t
will return the number of fields.Rtype: number In the following example, a tuple named
t
is created and then the number of fields int
is returned.tarantool> t = box.tuple.new{'Fld#1', 'Fld#2', 'Fld#3', 'Fld#4'} --- ... tarantool> #t --- - 4 ...
-