use chrono::NaiveDate; use std::collections::HashMap; use std::iter::FromIterator; use tokio_rusqlite::{Connection, Row, named_params}; use crate::db::utils; use crate::model::income::{Create, Form, Stat, Table, Update}; fn row_to_table(row: &Row) -> Result