Order By List (a_v4_extfn_orderby_list)

Use the a_v4_extfn_orderby_list structure to describe the ORDER BY property of a table.

Implementation

typedef struct a_v4_extfn_orderby_list {
    a_sql_uint32        number_of_elements;
    a_v4_extfn_order_el order_elements[1];      // there are number_of_elements entries
} a_v4_extfn_orderby_list;

Data Members and Data Types Summary

Data Member Data Type Description
number_of_elements a_sql_uint32 The number of entries
order_elements[1] a_v4_extfn_order_el The order of the elements

Description

There are number_of_elements entries, each with a flag indicating whether the element is ascending or descending, and a column index indicating the appropriate column in the associated table.