MySQL 8.4.2
Source Code Documentation
|
A service that provides the API for get integer. More...
#include <mysql_statement_service.h>
Public Attributes | |
mysql_service_status_t(* | get )(my_h_row row, uint32_t column_index, int64_t *data, bool *is_null) |
Get signed integer at column_index from a row. More... | |
A service that provides the API for get integer.
Usage example:
autp int_val = int64_t{}; bool is_null; SERVICE_PLACEHOLDER(mysql_stmt_get_integer)->get(row, column_index, &int_val, &is_null)
mysql_service_status_t(* s_mysql_mysql_stmt_get_integer::get) (my_h_row row, uint32_t column_index, int64_t *data, bool *is_null) |
Get signed integer at column_index from a row.
[in] | row | The row handle |
[in] | column_index | 0-based index at which the data is extracted |
[out] | data | The extracted integer |
[out] | is_null | Flag to indicate if value is null |
false | success |
true | failure |