Database requests related types.
Classes | |
class | ozo::cancel_handle< Executor > |
Cancel operation handle. More... | |
class | ozo::value |
Database request result value proxy. More... | |
class | ozo::row |
Database request result row proxy. More... | |
class | ozo::basic_result< T > |
Database raw result representation. More... | |
Types | |
using | ozo::shared_result = basic_result< pg::shared_result > |
Database raw result representation. More... | |
using | ozo::result = basic_result< pg::result > |
Database raw result representation. More... | |
template<typename ... Ts> | |
using | ozo::rows_of = std::vector< typed_row< Ts... > > |
Shortcut for easy result container definition. More... | |
template<typename ... Ts> | |
using | ozo::lrows_of = std::list< typed_row< Ts... > > |
Shortcut for easy result container definition. More... | |
using ozo::lrows_of = typedef std::list<typed_row<Ts...> > |
Shortcut for easy result container definition.
This shortcut defines std::list
container for row tuples.
Ts | — types of columns in result |
using ozo::result = typedef basic_result<pg::result> |
Database raw result representation.
Stores raw request result. The result object is useful then it needs to get an access to raw data representation or the underlying libpq
handle.
using ozo::rows_of = typedef std::vector<typed_row<Ts...> > |
Shortcut for easy result container definition.
This shortcut defines std::vector
container for row tuples.
Ts | — types of columns in result |
using ozo::shared_result = typedef basic_result<pg::shared_result> |
Database raw result representation.
Copyable version of ozo::result
. The result object is useful then it needs to get an access to raw data representation or the underlying libpq
handle.
Get this type of result may be obtained from ozo::result
: