MCPcopy Create free account
hub / github.com/cosdata/cosdata / RelationshipPattern

Class RelationshipPattern

src/cosql/pattern/relationship.rs:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23#[derive(Debug, Clone, PartialEq)]
24pub struct RelationshipPattern {
25 pub variable: Option<String>,
26 pub roles: Roles,
27 pub relationship_type: String,
28 pub attributes: Attributes,
29}
30
31pub fn parse_role(input: &str) -> IResult<&str, Role> {
32 map(

Callers 2

parse_patternFunction · 0.85
test_pattern_parserFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_pattern_parserFunction · 0.68