template<typename COUNTER = unsigned int>
class pqxx::placeholders< COUNTER >
Generate parameter placeholders for use in an SQL statement.
When you want to pass parameters to a prepared statement or a parameterised statement, you insert placeholders into the SQL. During invocation, the database replaces those with the respective parameter values you passed.
The placeholders look like $1 (for the first parameter value), $2 (for the second), and so on. You can just write those directly in your statement. But for those rare cases where it becomes difficult to track which number a placeholder should have, you can use a placeholders object to count and generate them in order.
template<typename COUNTER = unsigned int>
Read the current placeholder text, as a std::string.
This will be slightly slower than converting to a zview. With most C++ implementations however, until you get into ridiculous numbers of parameters, the string will benefit from the Short String Optimization, or SSO.