- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QSqlQuery extends QtObject implements Cloneable
Means of executing and manipulating SQL statements
Java wrapper for Qt class QSqlQuery
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QSqlQuery.BatchExecutionMode
Java wrapper for Qt enum QSqlQuery::BatchExecutionMode -
Constructor Summary
Constructors Modifier Constructor Description QSqlQuery()
Overloaded constructor forQSqlQuery(java.lang.String, io.qt.sql.QSqlDatabase)
protected
QSqlQuery(QtObject.QPrivateConstructor p)
Constructor for internal use only.QSqlQuery(QSqlDatabase db)
QSqlQuery(QSqlQuery other)
QSqlQuery(QSqlResult r)
QSqlQuery(String query)
Overloaded constructor forQSqlQuery(java.lang.String, io.qt.sql.QSqlDatabase)
withdb = new io.qt.sql.QSqlDatabase()
.QSqlQuery(String query, QSqlDatabase db)
-
Method Summary
-
Constructor Details
-
QSqlQuery
-
QSqlQuery
-
QSqlQuery
-
QSqlQuery
Overloaded constructor for
QSqlQuery(java.lang.String, io.qt.sql.QSqlDatabase)
withdb = new io.qt.sql.QSqlDatabase()
. -
QSqlQuery
public QSqlQuery()Overloaded constructor for
QSqlQuery(java.lang.String, io.qt.sql.QSqlDatabase)
with:
query = ""
db = new io.qt.sql.QSqlDatabase()
-
QSqlQuery
-
QSqlQuery
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addBindValue
Overloaded function for
addBindValue(java.lang.Object, io.qt.sql.QSql.ParamType)
. -
addBindValue
Overloaded function for
addBindValue(java.lang.Object, io.qt.sql.QSql.ParamType)
withtype = new io.qt.sql.QSql.ParamType(1)
. -
addBindValue
-
at
-
bindValue
@QtUninvokable public final void bindValue(String placeholder, Object val, QSql.ParamTypeFlag... type)Overloaded function for
bindValue(java.lang.String, java.lang.Object, io.qt.sql.QSql.ParamType)
. -
bindValue
Overloaded function for
bindValue(java.lang.String, java.lang.Object, io.qt.sql.QSql.ParamType)
withtype = new io.qt.sql.QSql.ParamType(1)
. -
bindValue
-
bindValue
Overloaded function for
bindValue(int, java.lang.Object, io.qt.sql.QSql.ParamType)
. -
bindValue
Overloaded function for
bindValue(int, java.lang.Object, io.qt.sql.QSql.ParamType)
withtype = new io.qt.sql.QSql.ParamType(1)
. -
bindValue
-
boundValue
-
boundValue
-
boundValues
-
clear
-
driver
-
exec
-
exec
-
execBatch
Overloaded function for
execBatch(io.qt.sql.QSqlQuery.BatchExecutionMode)
withmode = io.qt.sql.QSqlQuery.BatchExecutionMode.ValuesAsRows
. -
execBatch
-
executedQuery
-
finish
-
first
-
isActive
-
isForwardOnly
-
isNull
-
isNull
-
isSelect
-
isValid
-
last
-
lastError
-
lastInsertId
-
lastQuery
-
next
-
nextResult
-
numRowsAffected
-
numericalPrecisionPolicy
-
prepare
-
previous
-
record
-
result
-
seek
Overloaded function for
seek(int, boolean)
withrelative = false
. -
seek
-
setForwardOnly
-
setNumericalPrecisionPolicy
@QtUninvokable public final void setNumericalPrecisionPolicy(QSql.NumericalPrecisionPolicy precisionPolicy) -
size
-
value
-
value
-
clone
-