Console - BROWSE CLASS

Displays all records associated with the given class.

Syntax:

BROWSE CLASS <class-name>
  • <class-name> Defines the class for the records you want to display.

Permissions:

In order to enable a user to execute this command, you must add the permission of read for the resource database.class.<class> to the database user.

Example:

  • Browse records associated with the class City:

    orientdb> BROWSE CLASS City
    
    ----+------+-------------------
      # | RID  | NAME
    ----+------+-------------------
      0 | -6:0 | Rome
      1 | -6:1 | London
      2 | -6:2 | Honolulu
    ----+------+-------------------
    

For more information on other commands, see Console Commands.