summaryrefslogtreecommitdiffstats
path: root/src/sql/kernel/qsqlresult.cpp
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2009-10-06 01:41:39 (GMT)
committerBill King <bill.king@nokia.com>2009-10-06 01:44:01 (GMT)
commitc768694764e8bc32a7152b80653eef564631452a (patch)
treed30f7c6b284e79bc9b76a3a5234b05989e2ac4b9 /src/sql/kernel/qsqlresult.cpp
parent32b74ee804d6e79420ba00683c7fff1cc8d56230 (diff)
downloadQt-c768694764e8bc32a7152b80653eef564631452a.zip
Qt-c768694764e8bc32a7152b80653eef564631452a.tar.gz
Qt-c768694764e8bc32a7152b80653eef564631452a.tar.bz2
Update documentation for setForwardOnly.
Diffstat (limited to 'src/sql/kernel/qsqlresult.cpp')
-rw-r--r--src/sql/kernel/qsqlresult.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sql/kernel/qsqlresult.cpp b/src/sql/kernel/qsqlresult.cpp
index 791b8a6..efca595 100644
--- a/src/sql/kernel/qsqlresult.cpp
+++ b/src/sql/kernel/qsqlresult.cpp
@@ -559,7 +559,12 @@ bool QSqlResult::isForwardOnly() const
mode needs much less memory since results do not have to be
cached. By default, this feature is disabled.
- \sa isForwardOnly(), fetchNext()
+ Setting forward only to false is a suggestion to the database engine,
+ which has the final say on whether a result set is forward only or
+ scrollable. isForwardOnly() will always return the correct status of
+ the result set.
+
+ \sa isForwardOnly(), fetchNext(), QSqlQuery::setForwardOnly()
*/
void QSqlResult::setForwardOnly(bool forward)
{