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

Function create_unique_constraint

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

Source from the content-addressed store, hash-verified

79 return res
80
81def create_unique_constraint(g, entity_type, lbl, *props, sync=False):
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)

Callers 2

Calls 1

create_constraintFunction · 0.85

Tested by

no test coverage detected