add_constraint
Description:
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.
Parameters:
| this |
a filter object |
| propName |
the name of the parameter key |
| propVal |
the required property value |