[
https://issues.apache.org/jira/browse/TINKERPOP-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette updated TINKERPOP-1270:
----------------------------------------
Affects Version/s: 3.1.2-incubating
Priority: Minor (was: Major)
Component/s: process
Issue Type: Improvement (was: New Feature)
I just thought I'd point out that the basic pattern to determine if edges exist
between two vertices looks like this:
{code}
g.V(v1).bothE().where(otherV().is(v2))
{code}
> A method to test two vertices inidence
> --------------------------------------
>
> Key: TINKERPOP-1270
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1270
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.1.2-incubating
> Reporter: Ondra Žižka
> Priority: Minor
>
> I'd like to be able to test an existence of an edge between two vertices:
> {code}
> boolean joined = graphContext.testIncidence(projectVertex(), archiveVertex,
> "uses");
> {code}
> Or it could give an Iterable of edges, too.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)