mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
- SQL logging channel and archiving strategy
- row formatting refactored - affected row count for insert, delete and update returned from Statement::execute() - internal SQL string formatting capability using Poco::format()
This commit is contained in:
@@ -65,6 +65,10 @@ public:
|
||||
protected:
|
||||
Poco::UInt32 columnsReturned() const;
|
||||
/// Returns number of columns returned by query.
|
||||
|
||||
Poco::UInt32 affectedRowCount() const;
|
||||
/// Returns the number of affected rows.
|
||||
/// Used to find out the number of rows affected by insert or update.
|
||||
|
||||
const MetaColumn& metaColumn(Poco::UInt32 pos) const;
|
||||
/// Returns column meta data.
|
||||
@@ -113,6 +117,12 @@ inline AbstractBinder& TestStatementImpl::binder()
|
||||
}
|
||||
|
||||
|
||||
inline Poco::UInt32 TestStatementImpl::affectedRowCount() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
} } } // namespace Poco::Data::Test
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user