a_sqlany_data_value struct

Used to return a description of the attributes of a data value.

Syntax
typedef struct a_sqlany_data_value
{
    char * 		buffer;
    size_t		buffer_size;
    size_t *		length;
    a_sqlany_data_type	type;
    sacapi_bool *	is_null;
} a_sqlany_data_value;
Parameters
Name Type Description
buffer char * Pointer to user supplied buffer of data.
buffer_size size_t The size of the buffer.
is_null sacapi_bool * Pointer to an indicator whether the last fetched data is NULL.
length size_t * Pointer to the number of valid bytes in the buffer. Must be less than buffer_size.
type a_sqlany_data_type The type of the data.
Examples

To view examples of the a_sqlany_data_value structure in use, see: