Home | Previous Page | Next Page   Descriptor Function Reference > Accessor Functions >

mi_qual_issimple()

The mi_qual_issimple() function determines whether a qualification is a function. A function has one of the formats that Table 9 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.

For an example that uses mi_qual_issimple() to find the functions in a complex WHERE clause, refer to Processing Complex Qualifications.

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.

Related Topics

See the description of:

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]