pub fn update_article(changeset: ArticleChangeset, conn: &PgConnection) -> BackendResult<Article> {
        use crate::schema::articles;
        diesel::update(articles::table)
            .set(&changeset)
            .get_result(conn)
            .map_err(handle_err::<Article>)
    }
/// Applies the changeset to its corresponding article.
Applies the changeset to its corresponding article.
Applies the changeset to its corresponding article .
pub fn update_article(changeset: ArticleChangeset, conn: &PgConnection) -> BackendResult<Article> {
        use crate::schema::articles;
        diesel::update(articles::table)
            .set(&changeset)
            .get_result(conn)
            .map_err(handle_err::<Article>)
    }
pub fn update_article ( changeset : ArticleChangeset , conn : & PgConnection ) -> BackendResult < Article > { use crate :: schema :: articles ; diesel :: update ( articles :: table ) . set ( & changeset ) . get_result ( conn ) . map_err ( handle_err :: < Article > ) }
Applies the changeset to its corresponding article.
Applies the changeset to its corresponding article .
changeset
ArticleChangeset
conn
&PgConnection
changeset
ArticleChangeset
conn
&PgConnection