AsyncQuery Object
For each query that is executed in the background an instance of AsyncQuery is created. It provides an expiring link to the query result that will be present when the query execution is complete.
Fields
The fields in this section list which values can be retrieved when querying AsyncQuery records.
Account
)
The account this record belongs to.
ISO8601Timestamp
)
The date and time at which the async query was set to the status completed
.
ISO8601Timestamp
)
The date and time at which the record was created.
Int
)
The number of errors encountered during the execution.
ID!
)
Unique identifier of the record.
Person
)
The person or application who created the async query.
Int
)
The number of affected records.
String
)
Expiring link to the JSON result of the async query. It is available once the async query execution has been completed.
ISO8601Timestamp
)
The date and time at which the async query was set to status in_progress
.
AsyncQueryStatus
)
The current status of the async query. Valid values are:
-
queued
: The async query has been received and is waiting to be executed. -
in_progress
: The async query is being executed. -
completed
: The async query execution has been completed. Results can be found by downloading theresult_url
.
ISO8601Timestamp
)
The date and time of the last update of the record. If the record has no updates it contains the createdAt
value.
Implements
AsyncQuery implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a AsyncQuery.