AnnaDB 1.0
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
annadb::Meta Class Reference

Public Member Functions

 Meta (std::string_view meta_txt) noexcept
 
tyson::TySonObject data () noexcept
 
template<typename T >
requires std::is_integral_v<T>
std::optional< T > rows () noexcept
 
MetaType type () noexcept
 

Friends

std::ostream & operator<< (std::ostream &os, const Meta &meta) noexcept
 

Constructor & Destructor Documentation

◆ Meta()

annadb::Meta::Meta ( std::string_view  meta_txt)
inlineexplicitnoexcept

Creating a new Meta object from the AnnaDB response

Parameters
meta_txtstring

Member Function Documentation

◆ data()

tyson::TySonObject annadb::Meta::data ( )
inlinenoexcept
Returns
the data part of the meta object

◆ type()

MetaType annadb::Meta::type ( )
inlinenoexcept
Returns
the type part of the meta object

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