updateLiveQuery
Mutation
Used to update the details of a specific live query.
updateLiveQuery(input: LiveQueryUpdateRequestInput): LiveQueryUpdateResponse
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
input | LiveQueryUpdateRequestInput | Provide the live query details you want to update here, such as the name. |
Returns
Example
Request
mutation UpdateLiveQuery($input: LiveQueryUpdateRequestInput) {
updateLiveQuery(input: $input) {
liveQuery {
dateCreated
dateUpdated
id
lastErrorDate
lastResult
lastResultDate
name
query
status
variables
}
}
}