Top.Mail.Ru
index_object:parts() | Tarantool
Tarantool
Check out the new release 2.8

index_object:parts()

index_object:parts()

object index_object
index_object.parts

An array describing the index fields. To learn more about the index field types, refer to this table.

Rtype:table

Example:

tarantool> box.space.tester.index.primary
---
- unique: true
  parts:
  - type: unsigned
    is_nullable: false
    fieldno: 1
  id: 0
  space_id: 513
  name: primary
  type: TREE
...