Deletes a relationship property from a Context Graph model.
Use the contextgraph schema delete relationshipProperty command to delete a Context Graph model relationship property.
Usage
contextgraph schema delete relationshipProperty --m model --r relationshipLabel --p property --s sourceEntityType --t targetEntityType --w waitForCompleteRequired | Argument | Description |
---|---|---|
Yes | --m model | Specifies the name of the model whose entity type or relationship label property you want to delete. |
No | --r relationshipLabel | Specifies the target relationship label; includes all relationship labels if not specified. |
Yes | --p property | Specifies the property you want to delete. |
No | --s sourceEntityType | Specifies the type of source entity. |
No | --t targetEntityType | Specifies the type of target entity. |
No | --w waitForComplete | Specifies whether to wait for jobs to complete in a synchronous mode, where
waitForComplete is one of the following:
|
Example
This example deletes the property HireDate from a model called Staff and a relationship label of Hired.
contextgraph schema delete relationshipProperty --m Staff --r Hired --p HireDate