MySQL 8.4.2
Source Code Documentation
|
A service that provides the API for get time value from a row. More...
#include <mysql_statement_service.h>
Public Attributes | |
mysql_service_status_t(* | get )(my_h_row row, uint32_t column_index, mle_time *time, bool *is_null) |
Get time at column_index from a row. More... | |
A service that provides the API for get time value from a row.
auto result = Time_t{}; auto is_null = false;
if (SERVICE_PLACEHOLDER(mysql_stmt_get_time) ->get(row, column_index, &result.hour, &result.minute, &result.second, &result.microseconds, &result.negative, &is_null) == MYSQL_FAILURE) return {};
mysql_service_status_t(* s_mysql_mysql_stmt_get_time::get) (my_h_row row, uint32_t column_index, mle_time *time, bool *is_null) |
Get time at column_index from a row.
[in] | row | The row handle |
[in] | column_index | 0-based index at which the data is extracted |
[out] | time | structure representing temporal type |
[out] | is_null | Flag to indicate if value is null |
false | success |
true | failure |