fetch_bibliography_authors

Function fetch_bibliography_authors 

Source
pub async fn fetch_bibliography_authors(
    conn: &mut SqliteConnection,
    bibliography_id: i64,
) -> Result<Vec<BibliographyAuthor>, Error>
Expand description

参考文献の著者リストを参考文献idから取得します。

SELECT *
FROM main.rel_bibliography_authors
        LEFT OUTER JOIN main.bibliography_authors author
                        ON rel_bibliography_authors.bibliography_author_id = author.id
WHERE rel_bibliography_authors.bibliography_id = ?;