MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / create_unique_edge_constraint

Function create_unique_edge_constraint

tests/flow/constraint_utils.py:92–95  ·  view source on GitHub ↗
(g, rel, *props, sync=False)

Source from the content-addressed store, hash-verified

90 return create_unique_constraint(g, "NODE", lbl, *props, sync=sync)
91
92def create_unique_edge_constraint(g, rel, *props, sync=False):
93 # create exact-match index
94 create_edge_exact_match_index(g, rel, *props, sync=False)
95 return create_unique_constraint(g, "RELATIONSHIP", rel, *props, sync=sync)
96
97def create_mandatory_node_constraint(g, lbl, *props, sync=False):
98 return create_mandatory_constraint(g, "NODE", lbl, *props, sync=sync)

Calls 2

create_unique_constraintFunction · 0.85