Console - LOAD RECORD

Loads a record the given Record ID from the current database.

Syntax

  1. LOAD RECORD <record-id>
  • <record-id Defines the Record ID of the record you want to load.

In the event that you don’t have a Record ID, execute a query to find the one that you want.

Example

  • Load the record for #5:5:

    1. orientdb> LOAD RECORD #5:5
    2.  
    3. --------------------------------------------------------------------------------
    4. Class: Person id: #5:5 v.0
    5. --------------------------------------------------------------------------------
    6. parent : Person@5:4{parent:null,children:[Person@5:5, Person@5:6],name:Barack,
    7. surname:Obama,city:City@-6:2}
    8. children : null
    9. name : Malia Ann
    10. surname : Obama
    11. city : null
    12. --------------------------------------------------------------------------------

For more information on other commands, see Console Commands.