File Information
Library: JS/Data
Package: Wrappers
Header: Poco/JS/Data/RecordSetWrapper.h
Member Summary
Member Functions: assignStatement, close, isOpen, recordSet, statement, updateRecordSet
Constructors
RecordSetHolder
RecordSetHolder(
const Poco::SharedPtr < Poco::Data::Session > & pSession
);
Creates the RecordSetHolder.
Event if not used directly, we need to keep a SharedPtr to underlying Session to prevent it from being deleted before the RecordSet, which causes a memory leak in SQLite.
Destructor
~RecordSetHolder
~RecordSetHolder();
Destroys the RecordSetHolder.
Member Functions
assignStatement
void assignStatement(
Poco::Data::Statement & statement
);
close
void close();
isOpen
bool isOpen() const;
recordSet
Poco::Data::RecordSet & recordSet();
statement
Poco::Data::Statement & statement();
updateRecordSet
void updateRecordSet();