Search code examples
orientdb

How can i show all vertices in orientdb except where @class="movie"?


Hi there i want to show all Vertices except the ones called movie. my statement so far was

 SELECT * FROM V WHERE NOT @class="movie"

but unfortunately the response does not contain any records. can anybody explain this to me ? :) Thank you :)


Solution

  • Cool i solved it by using:

    SELECT * FROM V WHERE @class!="movie"

    thanks for your help Idacrema :)