storages::postgres::Bytea I/O support
Definition in file bytea.hpp.
Go to the source code of this file.
#include <string>#include <string_view>#include <vector>#include <userver/storages/postgres/exceptions.hpp>#include <userver/storages/postgres/io/buffer_io.hpp>#include <userver/storages/postgres/io/buffer_io_base.hpp>#include <userver/storages/postgres/io/type_mapping.hpp>
 Include dependency graph for bytea.hpp:
 This graph shows which files directly or indirectly include this file:Namespaces | |
| namespace | storages | 
| Components, clients and helpers for different databases and storages.  | |
| namespace | storages::postgres | 
| Top namespace for uPg driver.  | |
| namespace | storages::postgres::io | 
| uPg input-output.  | |
| namespace | storages::postgres::io::traits | 
| uPg input-output traits.  | |
Typedefs | |
| template<typename T > | |
| using | storages::postgres::io::traits::EnableIfByteaCompatible = std::enable_if_t<IsByteaCompatible<T>{}> | 
Functions | |
| template<typename ByteContainer > | |
| detail::ByteaRefWrapper< const ByteContainer & > | storages::postgres::Bytea (const ByteContainer &bytes) | 
| Helper function for writing binary data.   | |
| template<typename ByteContainer > | |
| detail::ByteaRefWrapper< ByteContainer & > | storages::postgres::Bytea (ByteContainer &bytes) | 
| Helper function for reading binary data.   | |
Variables | |
| template<typename T > | |
| constexpr bool | storages::postgres::io::traits::kIsByteaCompatible = IsByteaCompatible<T>::value |