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

Function create_mandatory_edge_constraint

tests/flow/constraint_utils.py:100–101  ·  view source on GitHub ↗
(g, lbl, *props, sync=False)

Source from the content-addressed store, hash-verified

98 return create_mandatory_constraint(g, "NODE", lbl, *props, sync=sync)
99
100def create_mandatory_edge_constraint(g, lbl, *props, sync=False):
101 return create_mandatory_constraint(g, "RELATIONSHIP", lbl, *props, sync=sync)
102
103def drop_constraint(g, ct_type, entity_type, lbl, *props):
104 params = ["GRAPH.CONSTRAINT", "DROP", g.name, ct_type, entity_type, lbl, "PROPERTIES", len(props)]

Calls 1

Tested by 4

test06_constraint_fixMethod · 0.68