Skip to content

Commit

Permalink
Dox
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 18, 2021
1 parent 26d9c15 commit 6124433
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion python/core/auto_generated/qgsaggregatecalculator.sip.in
Expand Up @@ -141,7 +141,8 @@ Calculates the value of an aggregate.
If an expression is used, then the context parameter must be set.
:param context: expression context for evaluating expressions
:param ok: if specified, will be set to ``True`` if aggregate calculation was successful
:param feedback: optional feedback argument for early cancellation (since QGIS 3.22)
:param feedback: optional feedback argument for early cancellation (since QGIS 3.22). If set, this will take precedence over any feedback object
set on the expression ``context``.

:return: calculated aggregate value
%End
Expand Down
3 changes: 2 additions & 1 deletion src/core/qgsaggregatecalculator.h
Expand Up @@ -171,7 +171,8 @@ class CORE_EXPORT QgsAggregateCalculator
* If an expression is used, then the context parameter must be set.
* \param context expression context for evaluating expressions
* \param ok if specified, will be set to TRUE if aggregate calculation was successful
* \param feedback optional feedback argument for early cancellation (since QGIS 3.22)
* \param feedback optional feedback argument for early cancellation (since QGIS 3.22). If set, this will take precedence over any feedback object
* set on the expression \a context.
* \returns calculated aggregate value
*/
QVariant calculate( Aggregate aggregate, const QString &fieldOrExpression,
Expand Down

0 comments on commit 6124433

Please sign in to comment.