|
Lightweight 0.20261105.1
|
#include <SqlValueStorage.hpp>
Public Attributes | |
| std::uint16_t | hour |
| Hour of the day, 0-23. | |
| std::uint16_t | minute |
| Minute of the hour, 0-59. | |
| std::uint16_t | second |
| Second of the minute, 0-59. | |
| std::uint32_t | fraction |
Lightweight-owned storage of a SQL TIME value with fractional seconds.
Layout-identical to the SQL Server ODBC extension SQL_SS_TIME2_STRUCT (12 bytes, padded).
Definition at line 53 of file SqlValueStorage.hpp.
| std::uint16_t Lightweight::SqlTime2Storage::hour |
Hour of the day, 0-23.
Definition at line 56 of file SqlValueStorage.hpp.
Referenced by Lightweight::SqlTime::ConvertToSqlValue().
| std::uint16_t Lightweight::SqlTime2Storage::minute |
Minute of the hour, 0-59.
Definition at line 58 of file SqlValueStorage.hpp.
| std::uint16_t Lightweight::SqlTime2Storage::second |
Second of the minute, 0-59.
Definition at line 60 of file SqlValueStorage.hpp.
| std::uint32_t Lightweight::SqlTime2Storage::fraction |
Fractional seconds in microseconds, as SqlTime writes and reads them.
No driver reads or writes this field today: SqlTime binds as SQL_C_TYPE_TIME, whose SQL_TIME_STRUCT ends after second. A binding as SQL_C_SS_TIME2 would hand the driver this field as nanoseconds, so such a binding must convert it first.
Definition at line 66 of file SqlValueStorage.hpp.