contextgraph schema count relationshipProperty
Counts a relationship property of a model.
Use the contextgraph schema count relationshipProperty command to count a relationship property in a Context Graph model.
Usage
contextgraph schema count relationshipProperty --m model --r relationshiplabel --p property| Required | Argument | Description |
|---|---|---|
| Yes | --m model | Specifies the name of the model whose relationship you want to count. |
| No | --r relationshipLabel | Specifies the relationship label on which to filter results. |
| Yes | --p property | Specifies the property to be counted. |
Example
This example returns the count for the Date property on the
Recorded relationship in the PopularMusic model.