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