userver: storages::postgres::TimePointTz Struct Reference
Loading...
Searching...
No Matches
storages::postgres::TimePointTz Struct Referencefinal

#include <userver/storages/postgres/io/chrono.hpp>

Detailed Description

Corresponds to TIMESTAMP WITH TIME ZONE (value in absolute time (no TZ offset)). Time zones are applied automatically.

Warning
It's important that no conversion to TIMESTAMP WITHOUT TIME ZONE is performed on the DB side, see uPg timestamp support
See also
Now
Examples
samples/digest_auth_service/auth_digest.cpp, and samples/postgres_auth/user_info_cache.hpp.

Definition at line 40 of file chrono.hpp.

+ Inheritance diagram for storages::postgres::TimePointTz:

Public Member Functions

 operator TimePoint () const
 

Member Function Documentation

◆ operator TimePoint()

storages::postgres::TimePointTz::operator TimePoint ( ) const
inline

Definition at line 46 of file chrono.hpp.


The documentation for this struct was generated from the following file: