Timestamp (std::chrono::*) I/O support.
Definition in file chrono.hpp.
Go to the source code of this file.
#include <chrono>#include <functional>#include <iosfwd>#include <limits>#include <userver/dump/fwd.hpp>#include <userver/storages/postgres/io/buffer_io.hpp>#include <userver/storages/postgres/io/buffer_io_base.hpp>#include <userver/storages/postgres/io/interval.hpp>#include <userver/storages/postgres/io/transform_io.hpp>#include <userver/storages/postgres/io/type_mapping.hpp>#include <userver/utils/strong_typedef.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 | |
| using | storages::postgres::ClockType = std::chrono::system_clock |
| using | storages::postgres::TimePoint = ClockType::time_point |
| using | storages::postgres::IntervalType = std::chrono::microseconds |
Functions | |
| logging::LogHelper & | storages::postgres::operator<< (logging::LogHelper &, TimePointTz) |
| Logging support for TimePointTz. | |
| std::ostream & | storages::postgres::operator<< (std::ostream &, TimePointTz) |
| gtest logging support for TimePointTz. | |
| logging::LogHelper & | storages::postgres::operator<< (logging::LogHelper &, TimePointWithoutTz) |
| Logging support for TimePointWithoutTz. | |
| std::ostream & | storages::postgres::operator<< (std::ostream &, TimePointWithoutTz) |
| gtest logging support for TimePointWithoutTz. | |
| TimePointTz | storages::postgres::Now () |
Mockable now that is written as TIMESTAMP WITH TIME ZONE. | |
| TimePointWithoutTz | storages::postgres::NowWithoutTz () |
Mockable now that is written as TIMESTAMP WITHOUT TIME ZONE. | |
| TimePoint | storages::postgres::PostgresEpochTimePoint () |
| Postgres epoch timestamp (2000-01-01 00:00 UTC) | |
| void | storages::postgres::Write (dump::Writer &writer, const TimePointTz &value) |
| Cache dumps support for storages::postgres::TimePointTz. | |
| TimePointTz | storages::postgres::Read (dump::Reader &reader, dump::To< TimePointTz >) |
| void | storages::postgres::Write (dump::Writer &writer, const TimePointWithoutTz &value) |
| Cache dumps support for storages::postgres::TimePointWithoutTz. | |
| TimePointWithoutTz | storages::postgres::Read (dump::Reader &reader, dump::To< TimePointWithoutTz >) |
Variables | |
| constexpr TimePoint | storages::postgres::kTimestampPositiveInfinity = TimePoint::max() |
| constexpr TimePoint | storages::postgres::kTimestampNegativeInfinity = TimePoint::min() |