backend::model::entity::timeline

Function calculate

source
pub async fn calculate(
    map_id: i32,
    params: TimelineParameters,
    conn: &mut AsyncPgConnection,
) -> QueryResult<TimelineDto>
Expand description

Summarize all plantings into a timeline.

§Errors

  • Unknown, diesel doesn’t say why it might error.