Callback for SQL SELECT statements.
More...
#include <sl3/rowcallback.hpp>
|
| | RowCallback () noexcept |
| | Constructor.
|
| virtual bool | onRow (Columns columns)=0 |
| | Process one row of the result from a SELECT statement.
|
| virtual void | onStart () |
| | Called before a query result will be processed.
|
| virtual void | onEnd () |
| | Called after a query result has been processed.
|
Callback for SQL SELECT statements.
This interface can be used to process the result of a SQL statement.
◆ ~RowCallback()
| virtual sl3::RowCallback::~RowCallback |
( |
| ) |
|
|
virtualnoexcept |
◆ RowCallback()
| sl3::RowCallback::RowCallback |
( |
| ) |
|
|
protectednoexcept |
◆ onEnd()
| virtual void sl3::RowCallback::onEnd |
( |
| ) |
|
|
protectedvirtual |
Called after a query result has been processed.
The default implementation does nothing.
◆ onRow()
| virtual bool sl3::RowCallback::onRow |
( |
Columns | columns | ) |
|
|
protectedpure virtual |
Process one row of the result from a SELECT statement.
- Parameters
-
| columns | Columns object for accessing values. |
- Returns
- false if processing the query result shall stop
true otherwise
◆ onStart()
| virtual void sl3::RowCallback::onStart |
( |
| ) |
|
|
protectedvirtual |
Called before a query result will be processed.
The default implementation does nothing.
The documentation for this class was generated from the following file: