mirror of
https://github.com/pocoproject/poco.git
synced 2025-07-01 08:23:29 +02: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;
|
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);
|
Statement& operator , (AbstractExtraction::Ptr extract);
|
||||||
/// Registers objects used for extracting data with the Statement by
|
/// Registers objects used for extracting data with the Statement by
|
||||||
/// calling addExtract().
|
/// calling addExtract().
|
||||||
|
Loading…
x
Reference in New Issue
Block a user