mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-27 01:55:17 +00:00
54 lines
887 B
GraphQL
54 lines
887 B
GraphQL
fragment query on QueryEntity {
|
|
urn
|
|
properties {
|
|
description
|
|
name
|
|
source
|
|
statement {
|
|
value
|
|
language
|
|
}
|
|
created {
|
|
time
|
|
actor
|
|
}
|
|
lastModified {
|
|
time
|
|
actor
|
|
}
|
|
}
|
|
subjects {
|
|
dataset {
|
|
urn
|
|
name
|
|
}
|
|
}
|
|
}
|
|
|
|
query listQueries($input: ListQueriesInput!) {
|
|
listQueries(input: $input) {
|
|
start
|
|
total
|
|
count
|
|
queries {
|
|
...query
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation createQuery($input: CreateQueryInput!) {
|
|
createQuery(input: $input) {
|
|
...query
|
|
}
|
|
}
|
|
|
|
mutation updateQuery($urn: String!, $input: UpdateQueryInput!) {
|
|
updateQuery(urn: $urn, input: $input) {
|
|
...query
|
|
}
|
|
}
|
|
|
|
mutation deleteQuery($urn: String!) {
|
|
deleteQuery(urn: $urn)
|
|
}
|