Top.Mail.Ru
space_object:field_count | Tarantool
 
Submodule box.space / space_object:field_count
Submodule box.space / space_object:field_count

space_object:field_count

space_object:field_count

object space_object
space_object.field_count

The required field count for all tuples in this space. The field_count can be set initially with:

box.schema.space.create(..., {
    ... ,
    field_count = *field_count_value* ,
    ...
})

The default value is 0, which means there is no required field count.

Example:

tarantool> box.space.tester.field_count
---
- 0
...