orientechnologies / orientdb-gremlin

TinkerPop3 Graph Structure Implementation for OrientDB
Apache License 2.0
91 stars 32 forks source link

Are there any plans to have a javascript version of this library? #159

Closed douglascvas closed 5 years ago

douglascvas commented 5 years ago

I wonder if there will be a version of this library in javascript. I am currently trying to access orientdb through the gremlin javascript library, but it has some problems:

Database version: OrientDB 3.0.14

wolf4ood commented 5 years ago

Hi @douglascvas

the official JS driver is OrientJS which uses OrientDB binary protocol. It can be used to spawn gremlin queries over the OrientDB binary protocol if the distribution is OrientDB with Apache Tinkerpop3. But i would recommend to use the gremlin javascript driver since it's support gremlin traversal with GLV, which i guess is something you want. and gives you the abstraction over the underlying graph technology. If you do not care about abstraction you might as well use OrientJS with SQL.

For the problem the temporary ids are a known issue with the integration of this driver inside the gremlin server due transaction lifecycle.

For transaction do you mean transactions over multiple requests?

Thanks Enrico

wolf4ood commented 5 years ago

Hi @douglascvas

do you need other info on this?

Thanks