1#include "SQLiteResult.h"
11 SQLiteResult::SQLiteResult(vector<unordered_map<string, string>>&& rows) noexcept :
59 return rows.at(index);
64 return rows.at(index);
69 return rows[index].at(columnName);
74 return rows[index].at(columnName);
std::unordered_map< std::string, std::string > & back()
Access to last row.
std::unordered_map< std::string, std::string > & front()
Access to first row.
std::unordered_map< std::string, std::string > & operator[](size_t index)
Access operator.
const_iterator end() const noexcept
End iterator.
size_t size() const
Number of rows.
bool isEmpty() const
Is SQLiteResult has no rows.
const_iterator begin() const noexcept
Begin iterator.
std::unordered_map< std::string, std::string > & at(size_t index)
Access to row.