简体   繁体   English

简单查询搜索-OrientDB

[英]Simple query search - OrientDB

I'm new in graph database - OrientDB. 我是图数据库中的新手-OrientDB。

I have a problem to search vertex connected to other vertex with specific edge. 我在搜索连接到具有特定边的其他顶点的顶点时遇到问题。

For example: I have a database - MovieRatings (public database OrientDB). 例如:我有一个数据库-MovieRatings(公共数据库OrientDB)。 I want search only Adventure type of movies. 我只想搜索冒险类电影。

How can I do it? 我该怎么做?

Thank you for your answer. 谢谢您的回答。

图形数据库

Try this: 尝试这个:

select from Movies where out("hasGenera").description contains "Adventure"


Hope it helps 希望能帮助到你

Regards 问候

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM