|
libdballe
8.6
|
Structure used to build and execute a query, and to iterate through the results. More...
#include <cursor.h>
Public Types | |
| typedef ImplTraits< Impl >::Row | Row |
| typedef ImplTraits< Impl >::Rows | Rows |
| typedef ImplTraits< Impl >::Interface | Interface |
Public Member Functions | |
| Base (std::shared_ptr< v7::Transaction > tr) | |
| int | remaining () const override |
| bool | has_value () const |
| bool | next () override |
| void | discard () override |
| dballe::DBStation | get_station () const override |
| void | enq (impl::Enq &enq) const override |
| unsigned | test_iterate (FILE *dump=0) override |
| Iterate the cursor until the end, returning the number of items. More... | |
Static Public Member Functions | |
| static std::unique_ptr< Impl > | downcast (std::unique_ptr< Interface > c) |
| Downcast a unique_ptr pointer. | |
Public Attributes | |
| Rows | rows |
Structure used to build and execute a query, and to iterate through the results.
|
override |
Iterate the cursor until the end, returning the number of items.
If dump is a FILE pointer, also dump the cursor values to it
1.8.16