API Stability |
Long-Term
|
The setDefaultSavedQuery() GraphQL mutation is used to set the query that should be loaded on entering the search page in a specific view.
For more information on saved queries, see the User Functions (Saved Searches) reference page where saved queries are discussed. Also, look at the Searching Data documentation page as it relates to recent queries and saving queries.
Syntax
Below is the syntax for the setDefaultSavedQuery() mutation field:
setDefaultSavedQuery(
input: SetDefaultSavedQueryInput!
): BooleanResultType!
Given Datatypes
For the given datatype,
SetDefaultSavedQueryInput
,
there are a couple of parameters. Below is a list of them along
with a description of each:
Table: SetDefaultSavedQueryInput
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column. | |||||
Table last updated: Sep 19, 2024 | |||||
savedQueryId | string | Long-Term | The unique identifier of the saved query to make default. | ||
viewName | string | yes | Long-Term | The name of the view related to the saved query. |
Returned Datatypes
The returned datatype
BooleanResultType
has
one parameter. It's described below:
Table: BooleanResultType
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column. | |||||
Table last updated: Sep 24, 2024 | |||||
results | boolean | yes | Long-Term | Whether the mutation was performed. |