命令 - INFO CLASS

显示给定类的所有信息。

语法

INFO CLASS <class-name>
  • <class-name> 定义显示的类。

例子

  • 显示类Profile的信息

    orientdb> INFO CLASS Profile
    
    Default cluster......: profile (id=10)
    Supported cluster ids: [10]
    Properties:
    --------+----+----------+-----------+---------+-----------+----------+-----+----
     NAME   | ID | TYPE     | LINK TYPE | INDEX   | MANDATORY | NOT NULL | MIN | MAX
    --------+----+----------+-----------+---------+-----------+----------+-----+----
     nick   |  3 | STRING   | null      |         | false     | false    | 3   | 30 
     name   |  2 | STRING   | null      |NOTUNIQUE| false     | false    | 3   | 30 
     surname|  1 | STRING   | null      |         | false     | false    | 3   | 30 
     ...    |    | ...      | ...       | ...     | ...       | ...      |...  | ...
     photo  |  0 | TRANSIENT| null      |         | false     | false    |     |    
    --------+----+----------+-----------+---------+-----------+----------+-----+----