SearchFixedFilter

annotation class SearchFixedFilter(val value: String)(source)

Applies an always-on filter property == value that the caller cannot see or override.

Mutually exclusive with SearchFilter and SearchSort: a field with a single fixed value cannot meaningfully be filtered or sorted by the caller. Not needed on a PersistenceSoftDelete field, which already implies SearchFixedFilter("null").

Properties

Link copied to clipboard

Parsed by the field type: null, true/false, a number, an ISO-8601 UTC date-time such as 2026-01-01T00:00:00Z for a date or timestamp, a UUID, an enum constant, JSON, or else a string. One value only: the filter is always property == value.