a_sqlany_data_info struct

Used to return information about a column value in a result set.

Syntax
typedef struct a_sqlany_data_info
{
    a_sqlany_data_type	type;
    sacapi_bool		is_null;
    size_t 		data_size;
} a_sqlany_data_info;
Properties
Name Type Description
data_size size_t The total number of bytes available to be fetched. This field is only valid after a successful fetch operation.
is_null sacapi_bool Indicates whether the last fetched data is NULL. This field is only valid after a successful fetch operation.
type a_sqlany_data_type Type of the data in the column.
Remarks

You can use sqlany_get_data_info to populate this structure with information about what was last retrieved by a fetch operation.

See also
Examples

To view an example of the a_sqlany_data_info structure in use, see: