damex_getSetOfConditionLists
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This function is used in regular IP mode to get the entire search expression without any filtering as a normalized list of condition lists. The IP should use dam_getFirstCondList/ dam_getNextCondList to navigate the list of condition lists and dam_getFirstCond/ dam_getNextCond to navigate each of the condition lists. The IP should use the SQL Parse Tree API to get complete details of each of the conditions.
The IP should not call dam_freeSetOfConditionList on the condition list handle that is returned from this function.
DAM_HSET_OF_CONDLIST damex_getSetOfConditionLists(
DAM_HQUERY hquery,
int iType)
Parameters for damex_getSetOfConditionLists
| Parameter | Type | Description |
| IN | ||
| hquery | DAM_HQUERY | The query handle returned from dam_getQuery. |
| iType | int | The type of condition list requested: SQL_SET_CONDLIST_INTERSECT - transform the WHERE clause into a set of AND conditions and return these as a list. This is valid only if IP_SUPPORT_UNION_CONDLIST is set to 0. SQL_SET_CONDLIST_UNION - transform the WHERE clause into a set of OR conditions and return these as a list. This is valid only if IP_SUPPORT_UNION_CONDLIST is set to 1. |
| RETURN | ||
| DAM_HSET_OF_CONDLIST | The search condition list. Navigate it by using dam_getFirstCondList and dam_getNextCondList. A NULL is returned if no search list is available.. |