equal
deleted
inserted
replaced
1135 |
1135 |
1136 def _delete_info(self, session, entity, sourceuri, scleanup=None): |
1136 def _delete_info(self, session, entity, sourceuri, scleanup=None): |
1137 """delete system information on deletion of an entity: |
1137 """delete system information on deletion of an entity: |
1138 |
1138 |
1139 * delete all remaining relations from/to this entity |
1139 * delete all remaining relations from/to this entity |
1140 |
1140 * call delete info on the system source |
1141 * call delete info on the system source which will transfer record from |
|
1142 the entities table to the deleted_entities table |
|
1143 |
1141 |
1144 When scleanup is specified, it's expected to be the source's eid, in |
1142 When scleanup is specified, it's expected to be the source's eid, in |
1145 which case we'll specify the target's relation source so that this |
1143 which case we'll specify the target's relation source so that this |
1146 source is ignored. E.g. we want to delete relations stored locally, as |
1144 source is ignored. E.g. we want to delete relations stored locally, as |
1147 the deletion information comes from the external source, it's its |
1145 the deletion information comes from the external source, it's its |