contextgraph schema rename entityProperty - spectrum_platform - 23.1

spectrum-inline

Product type
Software
Portfolio
Enrich
Integrate
Locate
Verify
Product family
Spectrum
Product
Spectrum > Dataflow Designer
Spectrum > Spatial > Spectrum Spatial
Spectrum > Geo Addressing > Enterprise Tax
Spectrum > Web Services
Spectrum > Quality > Context Graph
Spectrum > GeoEnrichment
Spectrum > Spectrum Platform
Spectrum > Quality > Addressing
Spectrum > Data Integration
Spectrum > Discovery
Spectrum > Quality > Spectrum Quality
Version
23.1
Language
English
Product name
Precisely Spectrum
Title
spectrum-inline
First publish date
2007
Last updated
2023-06-02
Published on
2023-06-02T09:54:39.526000

Rename a model property.

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

Usage

contextgraph schema rename entityProperty --m model --e entityType --p property --np newProperty --w waitForComplete
Required Argument Description
Yes --m model Specifies the name of the model whose entity property you want to rename.
No --e entityType Specifies the target entity type; includes all entity types if not specified.
Yes --p property Specifies the property you want to rename.
Yes --np newProperty Specifies the new property name.
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 property HireDate to Start Date in a model called Staff with a relationship label of Hired.

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