The mi_qual_issimple() accessor function
The mi_qual_issimple() function determines whether a qualification is a function.
A function has one of the formats that Table 1 shows, with no AND or OR operators.
Syntax
mi_boolean mi_qual_issimple(MI_AM_QUAL_DESC *qualDesc);
- qualDesc
- Points to the qualification descriptor.
Usage
Call mi_qual_issimple() to determine where to process the current qualification. If mi_qual_issimple() returns MI_TRUE, call the access method routine that executes the strategy-function execution.
If mi_qual_issimple() returns MI_FALSE, the current qualification is a Boolean operator rather than a function. For more information about the Boolean operator, call the mi_qual_boolop() accessor function.
Return values
- MI_TRUE
- Indicates that the qualification is a function.
- MI_FALSE
- Indicates that the qualification is not a function.