KDb
KDbPreparedStatement.h
97 KDbField::List* whereFields; //!< temporary, used for select statements, based on whereFieldNames
Definition KDbFieldList.h:34
Prepared statement interface for backend-dependent implementations.
Definition KDbPreparedStatementInterface.h:32
KDbField::List * whereFields
temporary, used for select statements, based on whereFieldNames
Definition KDbPreparedStatement.h:97
const KDbField::List * fieldsForParameters
fields where we'll put the inserted parameters
Definition KDbPreparedStatement.h:96
bool dirty
true if the statement has to be internally prepared (possible again) before calling executeInternal()
Definition KDbPreparedStatement.h:98
void setFields(KDbFieldList *fields)
Sets fields for the statement. Does nothing if fields is nullptr.
Definition KDbPreparedStatement.cpp:194
bool execute(const KDbPreparedStatementParameters ¶meters)
Definition KDbPreparedStatement.cpp:62
quint64 lastInsertRecordId() const
Definition KDbPreparedStatement.cpp:213
@ InsertStatement
INSERT statement will be prepared end executed.
Definition KDbPreparedStatement.h:83
@ SelectStatement
SELECT statement will be prepared end executed.
Definition KDbPreparedStatement.h:82
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:48:13 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:48:13 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.