Skip to main content

LiveQuery

Object

Contains all the detals about a live query.

type LiveQuery {
dateCreated: DateTime
dateUpdated: DateTime
id: String
lastErrorDate: DateTime
lastResult: GraphQLJSON
lastResultDate: DateTime
name: String
organization: Org
query: String
status: LiveQueryStatus
user: User
variables: GraphQLJSON
}

Fields​

FieldTypeDescription
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.
lastResultGraphQLJSONThis returns the last result of the live query, in standard Mapped JSON format.
lastResultDateDateTimeThis timestamp represents the date for the most recent live query result.
nameStringThe unique name of the live query.
organizationOrgThe organization the live query belongs to.
queryStringThe query being run by the live query, i.e. the request being made to the Mapped API.
statusLiveQueryStatusThis identifies whether the live query is currently RUNNING, PAUSED, FAILED or LIVE_QUERY_STATUS_UNSPECIFIED.
userUserThe user the live query belong to.
variablesGraphQLJSON

Used by​