Class for query preparation and execution.
More...
#include <EasyQtSql_PreparedQuery.h>
Class for query preparation and execution.
PreparedQuery query = t.prepare(
"SELECT a, b, c, d FROM table WHERE a=? AND b=?");
{
}
{
}
◆ PreparedQuery()
PreparedQuery::PreparedQuery |
( |
const QString & |
stmt, |
|
|
const QSqlDatabase & |
db, |
|
|
bool |
forwardOnly = true |
|
) |
| |
|
inline |
◆ exec() [1/9]
◆ exec() [2/9]
QueryResult& PreparedQuery::exec |
( |
const QVariant & |
bindValue | ) |
|
|
inline |
◆ exec() [3/9]
◆ exec() [4/9]
◆ exec() [5/9]
◆ exec() [6/9]
template<typename... Rest>
QueryResult& PreparedQuery::exec |
( |
const QVariant & |
bindValue, |
|
|
const Rest &... |
rest |
|
) |
| |
|
inline |
◆ exec() [7/9]
template<typename... Rest>
QueryResult& PreparedQuery::exec |
( |
const In & |
paramWrapper, |
|
|
const Rest &... |
rest |
|
) |
| |
|
inline |
◆ exec() [8/9]
template<typename... Rest>
QueryResult& PreparedQuery::exec |
( |
const Out & |
paramWrapper, |
|
|
const Rest &... |
rest |
|
) |
| |
|
inline |
◆ exec() [9/9]
template<typename... Rest>
QueryResult& PreparedQuery::exec |
( |
const InOut & |
paramWrapper, |
|
|
const Rest &... |
rest |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: