SearchSort

annotation class SearchSort(val tiebreaker: Boolean = false, val direction: SortDirection = SortDirection.ASC)(source)

Marks a constructor property as sortable.

Properties

Link copied to clipboard

The field's default sort direction.

Link copied to clipboard
val tiebreaker: Boolean = false

Whether this is the entity's single required tiebreaker field. Cursor pagination needs exactly one per entity.