validators\ExistValidator $filter

$filter public property

Additional filter to be applied to the DB query used to check the existence of the attribute value. This can be a string or an array representing the additional query condition (refer to yii\db\Query::where() on the format of query condition), or an anonymous function with the signature function ($query), where $query is the Query object that you can modify in the function.

public string|array|Closure $filter = null
doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.