Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_getSetOfCustomConditionLists

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

This function is used to retrieve custom conditions lists from the Where clause.

DAM_HSET_OF_CONDLIST dam_getSetOfCustomConditionLists(  
 DAM_HSTMT hstmt,  
 int * pbPartialLists)

Parameters for dam_getSetOfCustomConditionLists

Parameter Type Description
IN
hstmt DAM_HSTMT The statement handle.
OUT
pbPartialLists int * TRUE - the custom condition list provided to the IP is a partial list. This happens in cases where:
  • A custom scalar function is an operand in a condition and another operand is not a column of the table.
  • A custom scalar function is used with non-literal parameters.
  • A custom scalar function is in an expression.
  • A custom scalar function in a JOIN is bound by the OR operator.
  • The IP cannot mark all custom condition lists as evaluated, so the IP should return an error.
    FALSE - the condition list provided to the IP contains the full expression.
    RETURN
    DAM_HSET_OF_CONDLIST The search custom condition list. Navigate it using dam_getFirstCondList and dam_getNextCondList. A NULL is returned if no search list is available. The IP must call dam_freeSetOfConditionList to this handle when done.
    TitleResults for “How to create a CRG?”Also Available inAlert