fixed GH #1404: Add Poco::Data::Statement::bind() method

This commit is contained in:
Günter Obiltschnig 2017-11-08 19:31:48 +01:00
parent c7068f41d2
commit 2b7911578a

View File

@ -155,6 +155,17 @@ public:
return *this;
}
template <typename C>
Statement& bind(const C& value)
/// Adds a binding to the Statement. This can be used to implement
/// generic binding mechanisms and is a nicer syntax for:
///
/// statement , bind(value);
{
(*this) , Keywords::bind(value);
return *this;
}
Statement& operator , (AbstractExtraction::Ptr extract);
/// Registers objects used for extracting data with the Statement by
/// calling addExtract().