userver: storages::postgres::Portal Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
storages::postgres::Portal Class Reference

Public Member Functions

 Portal (detail::Connection *conn, const Query &query, const detail::QueryParameters &={}, OptionalCommandControl cmd_ctl={})
 
 Portal (detail::Connection *conn, const PortalName &, const Query &query, const detail::QueryParameters &={}, OptionalCommandControl cmd_ctl={})
 
 Portal (Portal &&) noexcept
 
Portaloperator= (Portal &&) noexcept
 
 Portal (const Portal &)=delete
 
Portaloperator= (const Portal &)=delete
 
ResultSet Fetch (std::uint32_t n_rows)
 
bool Done () const
 
std::size_t FetchedSoFar () const
 
 operator bool () const
 

Detailed Description

Definition at line 25 of file portal.hpp.

Member Function Documentation

◆ operator bool()

storages::postgres::Portal::operator bool ( ) const
inlineexplicit

Definition at line 47 of file portal.hpp.


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