命令 - LIST CLASSES

展示当前数据库的所有创建的类。

语法:

  • 长的格式:

    LIST CLASSES
    
  • 短的格式:

    CLASSES
    

例子

  • 列举当前数据库的类:

    orientdb> LIST CLASSES
    
    CLASSES
    -------------+------+-------------+-----------
     NAME        |  ID  | CLUSTERS    | ELEMENTS  
    -------------+------+-------------+-----------
     Person      |    0 | person      |         7 
     Animal      |    1 | animal      |         5 
     AnimalRace  |    2 | AnimalRace  |         0 
     AnimalType  |    3 | AnimalType  |         1 
     OrderItem   |    4 | OrderItem   |         0 
     Order       |    5 | Order       |         0 
     City        |    6 | City        |         3 
    -------------+------+-------------+-----------
     TOTAL                                     16 
    -----------------------------------------------
    

更多其他命令,参考Console Commands.