7
.. index:: object: drizzle_query_st
9
These functions are used to issue queries on a connection. Single queries
10
are made using the drizzle_query function, or you can queue multiple queries
11
and run them concurrently using the other query functions.
14
.. c:function:: drizzle_result_st * drizzle_query (drizzle_con_st *con, drizzle_result_st *result, const char *query, size_t size, drizzle_return_t *ret_ptr)
16
.. c:function:: drizzle_result_st * drizzle_query_str (drizzle_con_st *con, drizzle_result_st *result, const char *query, drizzle_return_t *ret_ptr)
18
.. c:function:: drizzle_result_st * drizzle_query_inc (drizzle_con_st *con, drizzle_result_st *result, const char *query, size_t size, size_t total, drizzle_return_t *ret_ptr)
20
.. c:function:: drizzle_query_st * drizzle_query_add (drizzle_st *drizzle, drizzle_query_st *query, drizzle_con_st *con, drizzle_result_st *result, const char *query_string, size_t size, drizzle_query_options_t options, void *context)
22
.. c:function:: drizzle_query_st * drizzle_query_create (drizzle_st *drizzle, drizzle_query_st *query)
24
.. c:function:: void drizzle_query_free (drizzle_query_st *query)
26
.. c:function:: void drizzle_query_free_all (drizzle_st *drizzle)
28
.. c:function:: drizzle_con_st * drizzle_query_con (drizzle_query_st *query)
30
.. c:function:: void drizzle_query_set_con (drizzle_query_st *query, drizzle_con_st *con)
32
.. c:function:: drizzle_result_st * drizzle_query_result (drizzle_query_st *query)
34
.. c:function:: void drizzle_query_set_result (drizzle_query_st *query, drizzle_result_st *result)
36
.. c:function:: char * drizzle_query_string (drizzle_query_st *query, size_t *size)
38
.. c:function:: void drizzle_query_set_string (drizzle_query_st *query, const char *string, size_t size)
40
.. c:function:: drizzle_query_options_t drizzle_query_options (drizzle_query_st *query)
42
.. c:function:: void drizzle_query_set_options (drizzle_query_st *query, drizzle_query_options_t options)
44
.. c:function:: void drizzle_query_add_options (drizzle_query_st *query, drizzle_query_options_t options)
46
.. c:function:: void drizzle_query_remove_options (drizzle_query_st *query, drizzle_query_options_t options)
48
.. c:function:: void * drizzle_query_context (drizzle_query_st *query)
50
.. c:function:: void drizzle_query_set_context (drizzle_query_st *query, void *context)
52
.. c:function:: void drizzle_query_set_context_free_fn (drizzle_query_st *query,
54
.. c:function:: drizzle_query_context_free_fn *function)
56
.. c:function:: drizzle_query_st * drizzle_query_run (drizzle_st *drizzle, drizzle_return_t *ret_ptr)
58
.. c:function:: drizzle_return_t drizzle_query_run_all (drizzle_st *drizzle)
60
.. c:function:: size_t drizzle_escape_string (char *to, const char *from, size_t from_size)
62
.. c:function:: size_t drizzle_hex_string (char *to, const char *from, size_t from_size)
64
.. c:function:: void drizzle_mysql_password_hash (char *to, const char *from, size_t from_size)