Filter Compare.Equal for two strings


I have a scenario where i need to filter the container source to check an object ‘currentState’ equals to either single or married.
Pls provide a suggestion.

Thank You

On the container you can use the method “addContainerFilter”. I think there are some implementations of filters available (–> apidoc).
For your own Filter implementation you just have to implement the interface

Can try Or(new Compare.Equal(…,…), new Compare.Equal(…,…))

I know that works for SQLContainer


Thank you Dana,