Skip to content

Confusion about the api and query language #10058

Answered by laa
hgftrdw45ud67is8o89 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi.

OrientDB is a native graph database.

Query language is also part of API, so there is no difference.

If you are asking what query language is better to use, those are general recommendations:

  1. Only use Gremlin if you want API compatibility between different vendors. It is the least efficient from a performance point of view.
  2. Prefer queries over other API methods if you work with (plan to migrate to) remote storage. Even though class-based API could be more handy, queries are typically executed with similar performance characteristics whether you work with embedded or remote storage.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tglman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants