pub async fn calculate(
map_id: i32,
params: TimelineParameters,
app_data: &Data<AppDataInner>,
) -> Result<TimelineDto, ServiceError>
Expand description
Summarizes the all additions and removals of plantings
between params.start
and params.end
.
§Errors
If the connection to the database could not be established.