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