mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-15 03:21:09 +01:00
fixed GH #1404: Add Poco::Data::Statement::bind() method
This commit is contained in:
parent
c7068f41d2
commit
2b7911578a
@ -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().
|
||||
|
Loading…
Reference in New Issue
Block a user