MySQL 8.4.1
Source Code Documentation
s_mysql_mysql_stmt_get_integer Struct Reference

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...
 

Detailed Description

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)

Member Data Documentation

◆ get

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.

Parameters
[in]rowThe row handle
[in]column_index0-based index at which the data is extracted
[out]dataThe extracted integer
[out]is_nullFlag to indicate if value is null
Returns
Status of the performed operation
Return values
falsesuccess
truefailure

The documentation for this struct was generated from the following file: