Adds a constraint that requires the entity to have a property key propName
with a value of propVal
.
If multiple constraints are added for the same propName
, with different values, the entity have all property values.
this |
a filter object |
propName |
the name of the parameter key |
propVal |
the required property value |