TheMalloum
TheMalloum

Reputation: 23

Orientdb : how find edge between multiple vertices

I want to find every edges connect by Vertices with the name "bob".

What can't be the correct SQL request?

Upvotes: 0

Views: 369

Answers (1)

Oleksandr Gubchenko
Oleksandr Gubchenko

Reputation: 1369

You can use this query:

select expand(bothE()) from User where name = "bob"

Hope it helps.

UPDATE:

Try this query:

select * from E where in.name = "bob" and out.name = "bob"

Upvotes: 2

Related Questions