summaryrefslogtreecommitdiffstats
path: root/src/sql/kernel/qsqlquery.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-06-11 20:30:52 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-06-12 19:52:34 +0000
commita736a3c670929e3b73e11b33cc1705957c42961b (patch)
treed1d9fe4c2717436cbe0bbda0fd83bdbe4333f5a8 /src/sql/kernel/qsqlquery.cpp
parent68e6406623afe5aaaa79e116cbd6b07e8f295e8b (diff)
SQL/Doc: add note about QAnyStringView
Add a note to all functions now taking a QAnyStringView that their signature changed from QString to QAnyStringView Pick-to: 6.8 Change-Id: Ib9743b5b2c437724c6308e74ef3c5820136a34f5 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/sql/kernel/qsqlquery.cpp')
-rw-r--r--src/sql/kernel/qsqlquery.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sql/kernel/qsqlquery.cpp b/src/sql/kernel/qsqlquery.cpp
index 63f782fe222..fc8c3a2dd67 100644
--- a/src/sql/kernel/qsqlquery.cpp
+++ b/src/sql/kernel/qsqlquery.cpp
@@ -335,6 +335,9 @@ bool QSqlQuery::isNull(int field) const
returns isNull(int index) for the corresponding field index.
This overload is less efficient than \l{QSqlQuery::}{isNull()}
+
+ \note In Qt versions prior to 6.8, this function took QString, not
+ QAnyStringView.
*/
bool QSqlQuery::isNull(QAnyStringView name) const
{
@@ -446,6 +449,9 @@ QVariant QSqlQuery::value(int index) const
If field \a name does not exist an invalid variant is returned.
This overload is less efficient than \l{QSqlQuery::}{value()}
+
+ \note In Qt versions prior to 6.8, this function took QString, not
+ QAnyStringView.
*/
QVariant QSqlQuery::value(QAnyStringView name) const
{