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
RequiredArgumentDescription
Yes --m  modelSpecifies the name of the model whose relationship you want to count.
No --r  relationshipLabelSpecifies 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.

contextgraph schema count relationshipProperty --m PopularMusic --r Recorded --p Date