title: How to check class indexes and its properties, type etc by SQL in OrientDB?
body: <p>I have created Vertex class and id index with type UNIQUE. Now I want to verify if it is created programmatically in my unit test classes.</p>
  
  <p>As I am connecting to the OrientDB via JDBC, I want to check it with pure SQL.</p>
  
  <pre><code>select expand(indexes) from (select expand(classes) 
  from metadata:schema) where name = '&lt;class-name&gt;'
  </code></pre>
  
  <p>is not working.</p>
  
  <p>How can I do it?</p>