skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_getFirstCond
 

dam_getFirstCond

This function is used to navigate through the conditions in the condition list. It gets the first condition in the search or restriction list. Use the function dam_getNextCond to go through the list.
DAM_HCOND dam_getFirstCond(
DAM_HSTMT hstmt,
DAM_HCONDLIST hlist)
Table 110. Parameters for dam_getFirstCond
Parameter
Type
Description
IN
hstmt
DAM_HSTMT
The statement handle.
hlist
DAM_HCONDLIST
Either the search or the restriction condition list.
RETURN
DAM_HCOND
The first condition. A NULL is returned if the list is empty.

See also

*dam_getNextCond