Filter

data class Filter(val field: String, val value: Any, val operator: FilterOperator = FilterOperator.EQUALS)

Constructors

Link copied to clipboard
constructor(field: String, value: Any, operator: FilterOperator = FilterOperator.EQUALS)

Properties

Link copied to clipboard

The field name corresponds to the field name of the table database in case of relational databases or the field name on a document in case of no sql databases.

Link copied to clipboard
Link copied to clipboard
val value: Any

The value should be a primitive type or a list of a primitive type.

Functions