index_object:parts() | Tarantool

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
...
Found what you were looking for?
Feedback