Skip to main content

updateLiveQuery

Mutation

Used to update the details of a specific live query.

updateLiveQuery(input: LiveQueryUpdateRequestInput): LiveQueryUpdateResponse

Arguments​

ArgumentTypeDefaultDescription
inputLiveQueryUpdateRequestInputProvide the live query details you want to update here, such as the name.

Returns​

LiveQueryUpdateResponse

Example​

Request
mutation UpdateLiveQuery($input: LiveQueryUpdateRequestInput) {
updateLiveQuery(input: $input) {
liveQuery {
dateCreated
dateUpdated
id
lastErrorDate
lastResult
lastResultDate
name
query
status
variables
}
}
}