utils::datetime::Date I/O support
Definition in file date.hpp.
Go to the source code of this file.
#include <limits>
#include <userver/storages/postgres/io/buffer_io.hpp>
#include <userver/storages/postgres/io/buffer_io_base.hpp>
#include <userver/storages/postgres/io/integral_types.hpp>
#include <userver/storages/postgres/io/type_mapping.hpp>
#include <userver/utils/datetime/date.hpp>
Classes | |
struct | storages::postgres::io::BufferFormatter< Date > |
Binary formatter for utils::datetime::Date. More... | |
struct | storages::postgres::io::BufferParser< Date > |
Binary parser for utils::datetime::Date. More... | |
struct | storages::postgres::io::CppToSystemPg< Date > |
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. | |
Typedefs | |
using | storages::postgres::Date = ::utils::datetime::Date |
Corresponds to DATE. | |
Functions | |
Date | storages::postgres::PostgresEpochDate () |
Postgres epoch date (2000-01-01) | |
Variables | |
constexpr Date | storages::postgres::kDatePositiveInfinity = Date::SysDays::max() |
constexpr Date | storages::postgres::kDateNegativeInfinity = Date::SysDays::min() |