Graph search · GraphQL type

SearchQueryMatchKeyNullExpression type

Search expression testing whether a key has any value. Operator EQ means "is null" — the object (or the struct instance, for a multi-key field) has no value for the key; NE means "is not null" — a value is present. Valid for every field type. Written in a query string as Key = NULL / Key != NULL: NULL is case-insensitive and unquoted; the quoted string 'NULL' is an ordinary text value.

Fields

Field Name Description
expressionType - SearchQueryExpressionType! The expression node type discriminator.
key - String! The dot-notation key naming the object type and field whose presence is tested.
operator - SearchMatchValueOperator! The logical comparison operator: EQ tests "is null", NE tests "is not null".
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 null check matches within a single struct instance when combined with other multi-key predicates of the same struct.

Used by

Example

Example

{
  "expressionType": "OPERATOR",
  "key": "xyz789",
  "operator": "EQ",
  "keyType": "TEXT",
  "multiKey": true
}