contextgraph schema rename relationshipProperty - spectrum_platform - 23.1

spectrum-inline

Product type
Software
Portfolio
Enrich
Integrate
Locate
Verify
Product family
Spectrum
Product
Spectrum > Quality > Context Graph
Spectrum > Discovery
Spectrum > Web Services
Spectrum > Spatial > Spectrum Spatial
Spectrum > Quality > Addressing
Spectrum > Dataflow Designer
Spectrum > Geocoding > Enterprise Tax
Spectrum > Data Integration
Spectrum > Quality > Spectrum Quality
Spectrum > Spectrum Platform
Spectrum > GeoEnrichment
Version
23.1
Language
English
Product name
Precisely Spectrum
Title
spectrum-inline
First publish date
2007

Rename a model property.

Use the contextgraph schema rename relationshipProperty command to rename a property in a Context Graph model.

Usage

contextgraph schema rename relationshipProperty --m model --r relationshipLabel --p property --np newProperty --s sourceEntityType --t targetEntityType --w waitForComplete
Required Argument Description
Yes --m model Specifies the name of the model whose relationship property you want to rename.
No --r relationshipLabel Specifies the target relationship label.
Yes --p property Specifies the property you want to rename.
Yes --np newProperty Specifies the new property name.
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:
true
Waits for jobs to complete.
false
Does not wait for jobs to complete. This is the default setting.

Example

This example renames the relationship property HireDate to Start Date in a model called Staff with a relationship label of Hired.

contextgraph schema rename relationshipProperty --m Staff --r Hired --p HireDate --np StartDate