EasyQtSql
Easy SQL data access helper for QtSql
|
QSqlQuery wrapper for DELETE FROM ... WHERE .. query execution. More...
#include <EasyQtSql.h>
Public Member Functions | |
DeleteQuery (const QString &table, const QSqlDatabase &db) | |
NonQueryResult | where (const QString &expr) |
Executes conditional DELETE FROM table WHERE expr query. More... | |
NonQueryResult | where (const QString &expr, const QVariant &last) |
Executes conditional DELETE FROM table WHERE expr query with parameter binding. More... | |
template<typename... Rest> | |
NonQueryResult | where (const QString &expr, const QVariant &first, const Rest &... rest) |
NonQueryResult | exec () |
Executes unconditional DELETE FROM table query. More... | |
QSqlQuery wrapper for DELETE FROM ... WHERE .. query execution.
|
inline |
|
inline |
Executes unconditional DELETE FROM table query.
|
inline |
Executes conditional DELETE FROM table WHERE expr query.
|
inline |
Executes conditional DELETE FROM table WHERE expr query with parameter binding.
The method supports variable count of QVariant parameters. Parameters are bound with QSqlQuery::addBindValue.
|
inline |