7
.. index:: object: drizzle_column_st
12
These functions are used to get detailed column information. This
13
information is usually sent as the first part of a result set. There are
14
multiple ways for column information to be buffered depending on the
18
.. c:function:: drizzle_column_st * drizzle_column_create (drizzle_result_st *result, drizzle_column_st *column)
20
.. c:function:: void drizzle_column_free (drizzle_column_st *column)
22
.. c:function:: drizzle_result_st * drizzle_column_drizzle_result (drizzle_column_st *column)
24
.. c:function:: const char * drizzle_column_catalog (drizzle_column_st *column)
26
.. c:function:: const char * drizzle_column_db (drizzle_column_st *column)
28
.. c:function:: const char * drizzle_column_table (drizzle_column_st *column)
30
.. c:function:: const char * drizzle_column_orig_table (drizzle_column_st *column)
32
.. c:function:: const char * drizzle_column_name (drizzle_column_st *column)
34
.. c:function:: const char * drizzle_column_orig_name (drizzle_column_st *column)
36
.. c:function:: drizzle_charset_t drizzle_column_charset (drizzle_column_st *column)
38
.. c:function:: uint32_t drizzle_column_size (drizzle_column_st *column)
40
.. c:function:: size_t drizzle_column_max_size (drizzle_column_st *column)
42
.. c:function:: void drizzle_column_set_max_size (drizzle_column_st *column, size_t size)
44
.. c:function:: drizzle_column_type_t drizzle_column_type (drizzle_column_st *column)
46
.. c:function:: drizzle_column_type_drizzle_t drizzle_column_type_drizzle (drizzle_column_st *column)
48
.. c:function:: drizzle_column_flags_t drizzle_column_flags (drizzle_column_st *column)
50
.. c:function:: uint8_t drizzle_column_decimals (drizzle_column_st *column)
52
.. c:function:: const uint8_t * drizzle_column_default_value (drizzle_column_st *column, size_t *size)
57
These functions are used to get detailed column information. This
58
information is usually sent as the first part of a result set. There are
59
both buffered and unbuffered functions provided.
62
.. c:function:: drizzle_return_t drizzle_column_skip (drizzle_result_st *result)
64
.. c:function:: drizzle_column_st * drizzle_column_read (drizzle_result_st *result, drizzle_column_st *column, drizzle_return_t *ret_ptr)
66
.. c:function:: drizzle_return_t drizzle_column_buffer (drizzle_result_st *result)
68
.. c:function:: drizzle_column_st * drizzle_column_next (drizzle_result_st *result)
70
.. c:function:: drizzle_column_st * drizzle_column_prev (drizzle_result_st *result)
72
.. c:function:: void drizzle_column_seek (drizzle_result_st *result, uint16_t column)
74
.. c:function:: drizzle_column_st * drizzle_column_index (drizzle_result_st *result, uint16_t column)
76
.. c:function:: uint16_t drizzle_column_current (drizzle_result_st *result)
81
These functions allow you to send column information over a connection.
84
.. c:function:: drizzle_return_t drizzle_column_write (drizzle_result_st *result, drizzle_column_st *column)
86
.. c:function:: void drizzle_column_set_catalog (drizzle_column_st *column, const char *catalog)
88
.. c:function:: void drizzle_column_set_db (drizzle_column_st *column, const char *db)
90
.. c:function:: void drizzle_column_set_table (drizzle_column_st *column, const char *table)
92
.. c:function:: void drizzle_column_set_orig_table (drizzle_column_st *column, const char *orig_table)
94
.. c:function:: void drizzle_column_set_name (drizzle_column_st *column, const char *name)
96
.. c:function:: void drizzle_column_set_orig_name (drizzle_column_st *column, const char *orig_name)
98
.. c:function:: void drizzle_column_set_charset (drizzle_column_st *column, drizzle_charset_t charset)
100
.. c:function:: void drizzle_column_set_size (drizzle_column_st *column, uint32_t size)
102
.. c:function:: void drizzle_column_set_type (drizzle_column_st *column, drizzle_column_type_t type)
104
.. c:function:: void drizzle_column_set_flags (drizzle_column_st *column, drizzle_column_flags_t flags)
106
.. c:function:: void drizzle_column_set_decimals (drizzle_column_st *column, uint8_t decimals)
108
.. c:function:: void drizzle_column_set_default_value (drizzle_column_st *column, const uint8_t *default_value, size_t size)