Hi,
You use methods of deprecated interface which is removed.

If you wish to find edges between  vertexes you should use gremlin query
for example. http://gremlindocs.com/#recipes/shortest-path or by using sql
operator
https://github.com/orientechnologies/orientdb/wiki/SQL-Functions#dijkstra





On Thu, Jun 12, 2014 at 4:23 PM, László Rékasi <[email protected]>
wrote:

> Hi,
>
> Wanted to get the rid of an edge to be able to update it in JS.
> Found 2 options:
> 1)
> g.command("sql", "select from E where out = eRID1 and in = eRID2", []) >>
> can be slow
>
> 2)
> var g = orient.getGraph();
> var ed = g.getEdgesBetweenVertexes('#eRID1', '#eRID2'); // filtering for
> class would be also beneficial if possible
> return ed;
>
> The 2nd one drops me an error on ODb 2-0: has no such function
>
> Any idea?
>
> Thanks!
> L.
>
>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards,
Andrey Lomakin.

Orient Technologies
the Company behind OrientDB

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to