pub async fn find_note(db: &Database, name: &str) -> Result<Option<i32>, Error>