Console - INDEXES

Displays all indexes in the current database.

Syntax

  1. INDEXES

Example

  • Display indexes in the current database:

    1. orientdb {db=GratefulDeadConcerts}> INDEXES
    2.  
    3. INDEXES
    4. --------------+------------+-------+--------+---------
    5. NAME | TYPE | CLASS | FIELDS | RECORDS
    6. --------------+------------+-------+--------+---------
    7. dictionary | DICTIONARY | | | 0
    8. Group.Grp_Id | UNIQUE | Group | Grp_Id | 1
    9. ORole.name | UNIQUE | ORole | name | 3
    10. OUser.name | UNIQUE | OUser | name | 4
    11. --------------+------------+----------------+---------
    12. TOTAL = 4 8
    13. ------------------------------------------------------

For more information on other commands, see Console Commands.