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

Function create_mandatory_constraint

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

Source from the content-addressed store, hash-verified

82 return create_constraint(g, "UNIQUE", entity_type, lbl, *props, sync=sync)
83
84def create_mandatory_constraint(g, entity_type, lbl, *props, sync=False):
85 return create_constraint(g, "MANDATORY", entity_type, lbl, *props, sync=sync)
86
87def create_unique_node_constraint(g, lbl, *props, sync=False):
88 # create exact-match index

Calls 1

create_constraintFunction · 0.85

Tested by

no test coverage detected