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

Function Schema_GetConstraints

src/schema/schema.c:697–706  ·  view source on GitHub ↗

get all constraints in schema

Source from the content-addressed store, hash-verified

695
696// get all constraints in schema
697const Constraint *Schema_GetConstraints
698(
699 const Schema *s // schema from which to extract constraints
700) {
701 // validations
702 ASSERT(s != NULL);
703 ASSERT(s->constraints != NULL);
704
705 return s->constraints;
706}
707
708// adds a constraint to schema
709void Schema_AddConstraint

Callers 1

Proc_ConstraintsInvokeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected