From 3883b0a7b6825fc2580d36ab6b8885d19f05b8db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Mon, 7 Aug 2023 13:50:49 +0200 Subject: [PATCH] Doc: Fix warning about undocumented parameter Fixes (qdoc) warning: Undocumented parameter 'enable' in QSqlQuery::enablePositionalBinding() Amends the documentation introduced in e532933a2a9 Change-Id: I638cf7e1dc1c9af911f6ca52bc27e6072fae1035 Reviewed-by: Andreas Eliasson Reviewed-by: Andy Shaw Reviewed-by: Christian Ehrlicher --- src/sql/kernel/qsqlquery.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sql/kernel/qsqlquery.cpp b/src/sql/kernel/qsqlquery.cpp index 37f49caf743..d2147fc9957 100644 --- a/src/sql/kernel/qsqlquery.cpp +++ b/src/sql/kernel/qsqlquery.cpp @@ -1270,7 +1270,8 @@ QSql::NumericalPrecisionPolicy QSqlQuery::numericalPrecisionPolicy() const } /*! - Enables or disables the positional binding for this query. + Enables or disables the positional binding for this query, depending + on \a enable. This is useful when the query contains a '?' which must not be handled as a positional binding parameter but, for example, as a JSON operator for a Postgres database.