Skip to content

Commit

Permalink
Added void clean() method
Browse files Browse the repository at this point in the history
  • Loading branch information
cstiborg committed Oct 11, 2023
1 parent b0eed04 commit 24fe8f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/soci/rowset.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@ class rowset
return *this;
}

void clear()
{
*this = rowset();
}

const_iterator begin() const
{
return pimpl_->begin();
Expand Down

0 comments on commit 24fe8f2

Please sign in to comment.