visitAggregateFunctionInvocation method
Implementation
@override
void visitAggregateFunctionInvocation(
AggregateFunctionInvocation e, void arg) {
if (e.orderBy != null &&
context.engineOptions.version < SqliteVersion.v3_44) {
context.reportError(AnalysisError(
type: AnalysisErrorType.notSupportedInDesiredVersion,
message:
'ORDER BY in aggregate functions require sqlite 3.44 or later.',
relevantNode: e.orderBy,
));
}
super.visitAggregateFunctionInvocation(e, arg);
}