CollectionRuleRelation enum

Specifies the relationship between the column and the condition.

Values

  • STARTS_WITH
    The attribute starts with the condition.
  • ENDS_WITH
    The attribute ends with the condition.
  • EQUALS
    The attribute is equal to the condition.
  • GREATER_THAN
    The attribute is greater than the condition.
  • IS_NOT_SET
    The attribute is not set.
  • IS_SET
    The attribute is set.
  • LESS_THAN
    The attribute is less than the condition.
  • NOT_CONTAINS
    The attribute does not contain the condition.
  • NOT_EQUALS
    The attribute does not equal the condition.
  • CONTAINS
    The attribute contains the condition.

Types that return CollectionRuleRelation

  • [CollectionRule.relation](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/collectionrule#relation-2021-01)
  • [CollectionRuleConditions.allowedRelations](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/collectionruleconditions#allowedrelations-2021-01)
  • [CollectionRuleConditions.defaultRelation](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/collectionruleconditions#defaultrelation-2021-01)