MetafieldDefinitionSortKeys enum

Version unstable

The set of valid sort keys for the MetafieldDefinition query.

Values

  • ID

    Sort by the id value.

  • NAME

    Sort by the name value.

  • PINNED_POSITION

    Sort by the pinned_position value.

  • RELEVANCE

    During a search (i.e. when the query parameter has been specified on the connection) this sorts the results by relevance to the search term(s). When no search query is specified, this sort key is not deterministic and should not be used.