libdrizzle Public API Documentation

Field Declarations for Clients

Functions

drizzle_field_t drizzle_field_read (drizzle_result_st *result, size_t *offset, size_t *size, size_t *total, drizzle_return_t *ret_ptr)
 
drizzle_field_t drizzle_field_buffer (drizzle_result_st *result, size_t *total, drizzle_return_t *ret_ptr)
 
void drizzle_field_free (drizzle_field_t field)
 

Detailed Description

These functions allow you to access fields in a result set if the result is unbuffered. If the result is buffered, you can access the fields through the row functions.

Function Documentation

◆ drizzle_field_read()

drizzle_field_t drizzle_field_read ( drizzle_result_st * result,
size_t * offset,
size_t * size,
size_t * total,
drizzle_return_t * ret_ptr )

Read field for unbuffered result, possibly in parts. This is especially useful for blob streaming, since the client does not need to buffer the entire blob.

◆ drizzle_field_buffer()

drizzle_field_t drizzle_field_buffer ( drizzle_result_st * result,
size_t * total,
drizzle_return_t * ret_ptr )

Buffer one field.

◆ drizzle_field_free()

void drizzle_field_free ( drizzle_field_t field)

Free a buffered field.