Skip to main content

LiveQueryInput

Input

Contains all the detals about a live query.

input LiveQueryInput {
dateCreated: DateTime
dateUpdated: DateTime
id: String
lastErrorDate: DateTime
lastResultDate: DateTime
name: String
query: String
status: LiveQueryStatusInput
variables: GraphQLJSON
}

Input fields​

FieldTypeDefaultDescription
dateCreatedDateTimeThis timestamp represents the date the live query was created.
dateUpdatedDateTimeThis timestamp represents the date the lie query was last updated.
idStringThe unique id of the live query.
lastErrorDateDateTimeThis timestamp represents the last time the live query encountered an error.
lastResultDateDateTimeThis timestamp represents the date for the most recent live query result.
nameStringThe unique name of the live query.
queryStringThe query being run by the live query, i.e. the request being made to the Mapped API.
statusLiveQueryStatusInputThis identifies whether the live query is currently RUNNING, PAUSED, FAILED or LIVE_QUERY_STATUS_UNSPECIFIED.
variablesGraphQLJSON

Used by​