libpqxx 7.8.1
|
You cannot convert a std::byte
to/from SQL.
More...
#include <strconv.hxx>
Additional Inherited Members | |
![]() | |
static zview | to_buf (char *, char *, std::byte const &) |
static char * | into_buf (char *, char *, std::byte const &) |
static std::byte | from_string (std::string_view) |
static std::size_t | size_buffer (std::byte const &) noexcept |
![]() | |
static constexpr bool | converts_to_string |
static constexpr bool | converts_from_string |
You cannot convert a std::byte
to/from SQL.
To convert a raw byte value, use a std::basic_string_view<std::byte>
.
For example, to convert a byte b
from C++ to SQL, convert the value std::basic_string_view<std::byte>{&b, 1}
instead.