Search code examples
orientdb

How to query a record across the database with id


I have a custom unique index called "id" in all my vertices and edges. I want something like

Select * from * where id='1234'

Is this even possible?


Solution

  • Select * from V where id='1234' 
    

    worked like a charm!