mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-26 02:50:01 +00:00
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
|
||
|
}
|
||
|
}
|