SlHelpers
Loading...
Searching...
No Matches
SlSqlite::SQLStmtResetter Struct Reference

Resets SQLite statement after use for re-use. More...

#include <SQLiteSmart.h>

Public Member Functions

 SQLStmtResetter (sqlite3_stmt *stmt)
 Set up stmt to be reset in the destructor.
int reset ()
 Reset the statement.

Detailed Description

Resets SQLite statement after use for re-use.

Constructor & Destructor Documentation

◆ SQLStmtResetter()

SlSqlite::SQLStmtResetter::SQLStmtResetter ( sqlite3_stmt * stmt)
inline

Set up stmt to be reset in the destructor.

Parameters
stmtThe statement to reset

Member Function Documentation

◆ reset()

int SlSqlite::SQLStmtResetter::reset ( )

Reset the statement.

Returns
0 on success.

This is usually done only by the destructor.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/slhelpers-20260428.f233ce9-build/slhelpers-20260428.f233ce9/include/sqlite/SQLiteSmart.h