MySQL 8.0.39
Source Code Documentation
s_mysql_mysql_text_consumer_get_date_time_v1 Struct Reference

A service that provides the apis for get_date, get_time and get_datatime. More...

#include <mysql_command_consumer.h>

Public Attributes

mysql_service_status_t(* get_date )(SRV_CTX_H srv_ctx_h, const MYSQL_TIME_H value)
 Get DATE value from server and store into srv_ctx_h data. More...
 
mysql_service_status_t(* get_time )(SRV_CTX_H srv_ctx_h, const MYSQL_TIME_H value, unsigned int precision)
 Get TIME value from server and store into srv_ctx_h data. More...
 
mysql_service_status_t(* get_datatime )(SRV_CTX_H srv_ctx_h, const MYSQL_TIME_H value, unsigned int precision)
 Get DATETIME value from server and store into srv_ctx_h data. More...
 

Detailed Description

A service that provides the apis for get_date, get_time and get_datatime.

Member Data Documentation

◆ get_datatime

mysql_service_status_t(* s_mysql_mysql_text_consumer_get_date_time_v1::get_datatime) (SRV_CTX_H srv_ctx_h, const MYSQL_TIME_H value, unsigned int precision)

Get DATETIME value from server and store into srv_ctx_h data.

Parameters
srv_ctx_hDom_ctx data handle.
valueValue received
precisionNumber of decimals
Returns
status of operation
Return values
falsesuccess.
truefailure.

◆ get_date

mysql_service_status_t(* s_mysql_mysql_text_consumer_get_date_time_v1::get_date) (SRV_CTX_H srv_ctx_h, const MYSQL_TIME_H value)

Get DATE value from server and store into srv_ctx_h data.

Parameters
srv_ctx_hDom_ctx data handle.
valueValue received
Returns
status of operation
Return values
falsesuccess.
truefailure.

◆ get_time

mysql_service_status_t(* s_mysql_mysql_text_consumer_get_date_time_v1::get_time) (SRV_CTX_H srv_ctx_h, const MYSQL_TIME_H value, unsigned int precision)

Get TIME value from server and store into srv_ctx_h data.

Parameters
srv_ctx_hDom_ctx data handle.
valueValue received
precisionNumber of decimals
Returns
status of operation
Return values
falsesuccess.
truefailure.

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