Changeset 769 for trunk/src/sql/kernel/qsqlresult.cpp
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/sql/kernel/qsqlresult.cpp
r651 r769 137 137 } 138 138 139 return QString ::fromUtf16(arr, int(ptr - arr) + 1);139 return QString, int(ptr - arr) + 1); 140 140 } 141 141 … … 564 564 scrollable. isForwardOnly() will always return the correct status of 565 565 the result set. 566 567 568 566 569 567 570 \sa isForwardOnly(), fetchNext(), QSqlQuery::setForwardOnly() … … 708 711 placeholder name in the current record (row). 709 712 710 Note that binding an undefined placeholder will result in undefined behavior. 713 Values cannot be bound to multiple locations in the query, eg: 714 \code 715 INSERT INTO testtable (id, name, samename) VALUES (:id, :name, :name) 716 \endcode 717 Binding to name will bind to the first :name, but not the second. 718 719 \note Binding an undefined placeholder will result in undefined behavior. 720 721 \sa QSqlQuery::bindValue() 711 722 */ 712 723 void QSqlResult::bindValue(const QString& placeholder, const QVariant& val,
Note:
See TracChangeset
for help on using the changeset viewer.