equal
fun <T, P> KProperty1<T, P>.equal(path: Path<T>, criteriaBuilder: CriteriaBuilder, value: P): Predicate(source)
Creates a Predicate that checks if the property is equal to the given value.
Receiver
T – the type of the entity.
P - the type of the property.
Return
A Predicate that checks if the property is equal to the given value.
Parameters
path
The path of the entity.
criteria Builder
The criteria builder.
value
The value to compare against.