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 database type.

Warning
Make sure that no unwanted TIMESTAMP <> TIMESTAMP WITHOUT TIME ZONE conversions are performed on the DB side, see pg_timestamp.
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: