#include <userver/storages/sqlite/infra/connection_ptr.hpp>
Pointer-like class that controls lifetime of a parent pool by keeping smart pointer to it.
Definition at line 13 of file connection_ptr.hpp.
Public Member Functions | |
ConnectionPtr (std::shared_ptr< Pool > &&pool, std::unique_ptr< impl::Connection > &&connection) | |
ConnectionPtr (ConnectionPtr &&) noexcept | |
ConnectionPtr & | operator= (ConnectionPtr &&) noexcept |
bool | IsValid () const noexcept |
impl::Connection * | get () const noexcept |
impl::Connection & | operator* () const |
impl::Connection * | operator-> () const noexcept |