|
| | Data (std::string_view data) noexcept |
| |
template<tyson::TySonType T>
requires (T == tyson::TySonType::Objects || T == tyson::TySonType::IDs) |
| std::optional< tyson::TySonCollectionObject > | get () noexcept |
| |
◆ Data()
| annadb::Data::Data |
( |
std::string_view |
data | ) |
|
|
inlineexplicitnoexcept |
create a new Data object from the raw string
- Parameters
-
◆ get()
template<tyson::TySonType T>
requires (T == tyson::TySonType::Objects || T == tyson::TySonType::IDs)
the AnnaDB response can contains Objects or IDs which will be handled differently
- Template Parameters
-
| T | the TySonType Objects or IDs |
- Returns
- a TySonCollection which holds either the IDs or the Objects
The documentation for this class was generated from the following file: