Poco::JS::Data

class RecordSetHolder

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 inline

bool isOpen() const;

recordSet inline

Poco::Data::RecordSet & recordSet();

statement inline

Poco::Data::Statement & statement();

updateRecordSet

void updateRecordSet();

Securely control IoT edge devices from anywhere   Connect a Device