← All types
PrepressEn Enum

FolderSortField

Folder attribute the folders query orders by.

Values

NAME

Order by the folder's name, compared as text by the database. Names are unique per tenant, so this ordering never needs its TypeID tiebreaker.

CREATED_AT

Order by when the folder was created. This is what the query falls back to when no sort is given, paired with DESC (newest first).

UPDATED_AT

Order by the last write to the folder row — a rename, a description edit, or a re-binding — so a DESC page leads with recently touched folders.

Referenced by (1)
Exact type SDL
"""Folder attribute the folders query orders by."""
enum FolderSortField {
  """
  Order by the folder's name, compared as text by the database. Names are unique per tenant, so this ordering never needs its TypeID tiebreaker.
  """
  NAME
  """
  Order by when the folder was created. This is what the query falls back to when no sort is given, paired with DESC (newest first).
  """
  CREATED_AT
  """
  Order by the last write to the folder row — a rename, a description edit, or a re-binding — so a DESC page leads with recently touched folders.
  """
  UPDATED_AT
}