Skip to content

Commit

Permalink
Doc: Fix warning about undocumented parameter
Browse files Browse the repository at this point in the history
Fixes
 (qdoc) warning: Undocumented parameter 'enable' in QSqlQuery::enablePositionalBinding()

Amends the documentation introduced in e532933

Change-Id: I638cf7e1dc1c9af911f6ca52bc27e6072fae1035
Reviewed-by: Andreas Eliasson <[email protected]>
Reviewed-by: Andy Shaw <[email protected]>
Reviewed-by: Christian Ehrlicher <[email protected]>
  • Loading branch information
kkoehne committed Aug 8, 2023
1 parent 0bdd01b commit 3883b0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sql/kernel/qsqlquery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3883b0a

Please sign in to comment.