Console - INFO PROPERTY

Displays all information on the given property.

Syntax

  1. INFO PROPERTY <class-name>.<property-name>
  • <class-name> Defines the class to which the property belongs.
  • <property-name> Defines the property you want information on.

Example

  • Display information on the property name in the class OUser:

    1. orientdb> INFO PROPERTY OUser.name
    2.  
    3. PROPERTY 'OUser.name'
    4.  
    5. Type.................: STRING
    6. Mandatory............: true
    7. Not null.............: true
    8. Read only............: false
    9. Default value........: null
    10. Minimum value........: null
    11. Maximum value........: null
    12. REGEXP...............: null
    13. Collate..............: {OCaseInsensitiveCollate : name = ci}
    14. Linked class.........: null
    15. Linked type..........: null
    16.  
    17. INDEXES (1 altogether)
    18. --------------------+------------
    19. NAME | PROPERTIES
    20. --------------------+------------
    21. OUser.name | name
    22. --------------------+------------

For more information on other commands, see Console Commands.