OrientDB Query by edge property

前端 未结 2 1296
遇见更好的自我
遇见更好的自我 2021-01-25 23:16

I have two vertex classes: Location and User and I have two edges also: Friend and GoingTo. A User can be \'Friend\' with another User and a User can also \'GoingTo\' a Location

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-26 00:09

    You can filter on edge's property:

    SELECT expand(both('Friend').outE('goingTo')[going_date='2015-01-01'].inV()) FROM #12:11

提交回复
热议问题