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
| Field | Type | Description |
|---|---|---|
dateCreated | DateTime | This timestamp represents the date the live query was created. |
dateUpdated | DateTime | This timestamp represents the date the lie query was last updated. |
id | String | The unique id of the live query. |
lastErrorDate | DateTime | This timestamp represents the last time the live query encountered an error. |
lastResult | GraphQLJSON | This returns the last result of the live query, in standard Mapped JSON format. |
lastResultDate | DateTime | This timestamp represents the date for the most recent live query result. |
name | String | The unique name of the live query. |
organization | Org | The organization the live query belongs to. |
query | String | The query being run by the live query, i.e. the request being made to the Mapped API. |
status | LiveQueryStatus | This identifies whether the live query is currently RUNNING, PAUSED, FAILED or LIVE_QUERY_STATUS_UNSPECIFIED. |
user | User | The user the live query belong to. |
variables | GraphQLJSON |
Used by
liveQueries(query)LiveQueryCreateResponse.liveQuery(field)LiveQueryUpdateResponse.liveQuery(field)