executeAggregate method
POST /{version}/database/collections/{collectionName}/aggregates/{aggregateId}/execute
Implementation
Future<Object?> executeAggregate(
{required Object collectionName,
required Object aggregateId,
Map<String, Object?>? query,
Object? body,
Map<String, String>? headers}) {
return transport.send(
route:
'/{version}/database/collections/{collectionName}/aggregates/{aggregateId}/execute',
method: 'POST',
query: query,
body: body,
headers: headers,
pathParams: <String, Object?>{
'collectionName': collectionName,
'aggregateId': aggregateId
},
);
}