MySQL Forums
Forum List  »  Connector/C++

Re: Xdevapi problem with timestamp
Posted by: Rafal Somla
Date: September 14, 2021 07:57AM

We do have some documentation for the returned raw bytes representation, but it is on Row::getBytes() method (not Value::getRawBytes()): https://dev.mysql.com/doc/dev/connector-cpp/8.0/classmysqlx_1_1abi2_1_1r0_1_1_row.html#aeb0c3821b9b1a259ae61bf8bab0b9221

It refers to this x-protocol document describing how SQL types are represented in x-protocol (including DATETIME and other temporal types): https://dev.mysql.com/doc/dev/mysql-server/latest/structMysqlx_1_1Resultset_1_1ColumnMetaData.html

The x-protocol raw representation of the value is what you get from getBytes()/getRawBytes() methods.

Options: ReplyQuote


Subject
Views
Written By
Posted
475
August 28, 2021 06:42PM
259
September 10, 2021 02:37PM
Re: Xdevapi problem with timestamp
256
September 14, 2021 07:57AM
217
September 14, 2021 08:49AM
213
September 14, 2021 08:53AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.