#include <userver/storages/sqlite/infra/connection_ptr.hpp>
Owns a SQLite connection and keeps its parent pool alive.
Definition at line 15 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 |