I don't know if the docs have to be updated but...looking into it I read:
It is also possible to combine into and use expressions:
- Code: Select all
ses << "SELECT NAME FROM FORENAME WHERE NAME=:name", into(aName), use(match), now;
poco_assert (aName == match);
But if I run a query like this in an MySQL project, I get a syntax error.
Looking to this post I see that the placeholder for the use clause must be an '?' not a ':var'.
So...is the documentation wrong?