[CONNECT C++] WhereCriterion test for Boolean Property value

I can successfully test an Item Type property that holds a string value, using for example WhereCriterion::CreateStringFilter.  I don't see a similar function for Boolean properties, although there is WhereCriterion::CreateNumberFilter for numeric properties.

How do I create a WhereCriterion for a Boolean property value?  Should I use CreateNumberFilter and pass 0|1 obtained from the Boolean value?

Parents Reply Children
No Data