#include </data/code/userver/odbc/include/userver/storages/odbc/field.hpp>
Single cell in an ODBC result set row.
Definition at line 66 of file field.hpp.
|
| size_type | RowIndex () const |
| size_type | FieldIndex () const |
|
bool | IsNull () const |
|
std::string | GetString () const |
|
int64_t | GetInt64 () const |
|
int32_t | GetInt32 () const |
|
double | GetDouble () const |
|
bool | GetBool () const |
| template<typename T> |
| T | As () const |
|
| | Field (detail::ResultWrapperPtr res, size_type row, size_type col) |
◆ size_type
| using storages::odbc::Field::size_type = std::size_t |
◆ Field()
| storages::odbc::Field::Field |
( |
detail::ResultWrapperPtr | res, |
|
|
size_type | row, |
|
|
size_type | col ) |
|
inlineprotected |
◆ As()
template<typename T>
| T storages::odbc::Field::As |
( |
| ) |
const |
Converts the field with strict SQL category, NULL and range checks. Use As<std::optional<T>>() to accept SQL NULL.
Definition at line 115 of file field.hpp.
◆ FieldIndex()
| size_type storages::odbc::Field::FieldIndex |
( |
| ) |
const |
|
inline |
◆ RowIndex()
| size_type storages::odbc::Field::RowIndex |
( |
| ) |
const |
|
inline |
◆ Row
The documentation for this class was generated from the following file:
- /data/code/userver/odbc/include/userver/storages/odbc/field.hpp