Graph search · GraphQL type

SearchQueryMatchKeyValueBooleanExpression type

Search expression matching a boolean-typed key against true or false. The key corresponds to a dot-notation path found in the search query schema.

Fields

Field Name Description
expressionType - SearchQueryExpressionType! The expression node type discriminator.
key - String! The dot-notation key naming the object type and field being searched.
operator - SearchMatchValueOperator! The logical comparison operator to use; EQ or NE.
boolValue - Boolean! The boolean value to search for. Named distinctly from the other leaf expressions' value fields — GraphQL field merging requires one type per response name when they appear together in fragments on SearchQueryExpression.
keyType - SearchQuerySchemaFieldType! The schema field type of the key.
multiKey - Boolean! True when the key is nested inside an array-of-struct path, so the predicate matches within a single struct instance when combined with other multi-key predicates of the same struct.

Used by

  • SearchQueryExpressionType enum: The node type of a SearchQueryExpression: one operator variant and one variant per leaf value kind.

Example

Example

{
  "expressionType": "OPERATOR",
  "key": "abc123",
  "operator": "EQ",
  "boolValue": true,
  "keyType": "TEXT",
  "multiKey": false
}