mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-25 10:30:04 +00:00

Co-authored-by: Raj Tekal <rtekal@gmail.com> Co-authored-by: Raj Tekal <rtekal@users.noreply.github.com> Co-authored-by: Raj Tekal <varadaraj_tekal@optum.com> Co-authored-by: Chris Collins <chriscollins3456@gmail.com>
57 lines
1.4 KiB
GraphQL
57 lines
1.4 KiB
GraphQL
query getERModelRelationship($urn: String!) {
|
|
erModelRelationship(urn: $urn) {
|
|
urn
|
|
type
|
|
id
|
|
properties {
|
|
...ermodelrelationPropertiesFields
|
|
}
|
|
editableProperties {
|
|
...ermodelrelationEditablePropertiesFields
|
|
}
|
|
institutionalMemory {
|
|
...institutionalMemoryFields
|
|
}
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
status {
|
|
removed
|
|
}
|
|
tags {
|
|
...globalTagsFields
|
|
}
|
|
glossaryTerms {
|
|
...glossaryTerms
|
|
}
|
|
outgoing: relationships(
|
|
input: { types: ["ermodelrelationA", "ermodelrelationB"], direction: OUTGOING, start: 0, count: 100 }
|
|
) {
|
|
start
|
|
count
|
|
total
|
|
relationships {
|
|
type
|
|
direction
|
|
entity {
|
|
... on ERModelRelationship {
|
|
urn
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation updateERModelRelationship($urn: String!, $input: ERModelRelationshipUpdateInput!) {
|
|
updateERModelRelationship(urn: $urn, input: $input)
|
|
}
|
|
|
|
mutation createERModelRelationship($input: ERModelRelationshipUpdateInput!) {
|
|
createERModelRelationship(input: $input) {
|
|
urn
|
|
type
|
|
id
|
|
}
|
|
} |