Graph search · GraphQL type

SearchParseQueryResult type

The abstract syntax tree result of parsing a graph search where-clause string.

Fields

Field Name Description
ast - SearchQueryExpression! The abstract syntax tree representing the parsed query. Key, field, and enum value casing is autocorrected to the canonical schema names.
prefixesFound - [GraphObjectType!]! The graph object types referenced by the query's keys.
hasUnscopedTopLevelExp - Boolean! True when the query contains an unscoped top-level free-text term.

Used by

Example

Example

{
  "ast": SearchQueryExpression,
  "prefixesFound": ["ACCOUNT_POLICY"],
  "hasUnscopedTopLevelExp": false
}