127 relation definition. |
127 relation definition. |
128 |
128 |
129 * `drop_relation_definition(subjtype, rtype, objtype, commit=True)`, removes |
129 * `drop_relation_definition(subjtype, rtype, objtype, commit=True)`, removes |
130 a relation definition. |
130 a relation definition. |
131 |
131 |
132 * `sync_schema_props_perms(ertype=None, syncperms=True, |
132 * `sync_schema_props_perms(ertype=None, syncperms=True, syncprops=True, syncrdefs=True, commit=True)`, |
133 syncprops=True, syncrdefs=True, commit=True)`, |
|
134 synchronizes properties and/or permissions on: |
133 synchronizes properties and/or permissions on: |
135 * the whole schema if ertype is None |
134 - the whole schema if ertype is None |
136 * an entity or relation type schema if ertype is a string |
135 - an entity or relation type schema if ertype is a string |
137 * a relation definition if ertype is a 3-uple (subject, relation, object) |
136 - a relation definition if ertype is a 3-uple (subject, relation, object) |
138 |
137 |
139 * `change_relation_props(subjtype, rtype, objtype, commit=True, **kwargs)`, changes |
138 * `change_relation_props(subjtype, rtype, objtype, commit=True, **kwargs)`, changes |
140 properties of a relation definition by using the named parameters of the properties |
139 properties of a relation definition by using the named parameters of the properties |
141 to change. |
140 to change. |
142 |
141 |