The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Qt::Sql::QSqlQuery

PUBLIC METHODS

QSqlQuery(QSqlResult * r)
QSqlQuery(QSqlDatabase db)
QSqlQuery(const QSqlQuery & other)
QSqlQuery(const QString & query, QSqlDatabase db)
QSqlQuery(const QString & query, QSqlDatabase db = QSqlDatabase())
QSqlQuery(const QString & query = QString(), QSqlDatabase db = QSqlDatabase())
~QSqlQuery()
void addBindValue(const QVariant & val, QFlags<QSql::ParamTypeFlag> type)
void addBindValue(const QVariant & val, QFlags<QSql::ParamTypeFlag> type = QSql::In)
int at()
void bindValue(const QString & placeholder, const QVariant & val, QFlags<QSql::ParamTypeFlag> type)
void bindValue(const QString & placeholder, const QVariant & val, QFlags<QSql::ParamTypeFlag> type = QSql::In)
void bindValue(int pos, const QVariant & val, QFlags<QSql::ParamTypeFlag> type)
void bindValue(int pos, const QVariant & val, QFlags<QSql::ParamTypeFlag> type = QSql::In)
QVariant boundValue(const QString & placeholder)
QVariant boundValue(int pos)
QMap<QString,QVariant> boundValues()
void clear()
const QSqlDriver * driver()
bool exec()
bool exec(const QString & query)
bool execBatch(QSqlQuery::BatchExecutionMode mode)
bool execBatch(QSqlQuery::BatchExecutionMode mode = QSqlQuery::ValuesAsRows)
QString executedQuery()
void finish()
bool first()
bool isActive()
bool isForwardOnly()
bool isNull(int field)
bool isSelect()
bool isValid()
bool last()
QSqlError lastError()
QVariant lastInsertId()
QString lastQuery()
bool next()
bool nextResult()
int numRowsAffected()
QSql::NumericalPrecisionPolicy numericalPrecisionPolicy()
QSqlQuery & operator=(const QSqlQuery & other)
bool prepare(const QString & query)
bool previous()
QSqlRecord record()
const QSqlResult * result()
bool seek(int i, bool relative)
bool seek(int i, bool relative = false)
void setForwardOnly(bool forward)
void setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy precisionPolicy)
int size()
QVariant value(int i)

ENUM VALUES

ValuesAsRows
ValuesAsColumns

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html