I found two minor but nevertheless confusing issues in your documentation in page reference:samples [www.ibpp.org] (ibpp.sourceforge.io):
There is a wording error in the description of the first IBPP::Statement example.
The sentence
A Statement is tightly linked to the database and the transaction in the context of which it will run, hence the db and tr parameters to the TransactionFactory() method.
should read
A Statement is tightly linked to the database and the transaction in the context of which it will run, hence the db and tr parameters to the StatementFactory() method.
There is an error in the code of the last example. We get 3 result columns (age is included) so we should refer to firstname by st->Get(2, fn); and to lastname by st->Get(3, ln); or also include age (via as st->Get(3,...)) in the results.
Both of them are easy to fix and I would have done it myself, if there was a way to register to the wiki. Thanks in advance for considering.
Sorry I mixed this up: I actually meant via
st->Get(1,...)in the parenthesized code.