refactor
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit
This commit is contained in:
parent
9d0baf30b8
commit
c960df8f70
@ -206,7 +206,7 @@ public:
|
|||||||
|
|
||||||
[[nodiscard]] auto get_row(std::optional<row> &opt_row) const -> bool;
|
[[nodiscard]] auto get_row(std::optional<row> &opt_row) const -> bool;
|
||||||
|
|
||||||
[[nodiscard]] auto has_row() const -> bool { return res_ == SQLITE_ROW; }
|
[[nodiscard]] auto has_row() const -> bool;
|
||||||
|
|
||||||
void next_row() const;
|
void next_row() const;
|
||||||
|
|
||||||
|
@ -105,6 +105,8 @@ auto db_result::get_row(std::optional<row> &opt_row) const -> bool {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto db_result::has_row() const -> bool { return res_ == SQLITE_ROW; }
|
||||||
|
|
||||||
void db_result::next_row() const {
|
void db_result::next_row() const {
|
||||||
if (not has_row()) {
|
if (not has_row()) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user