Skip to main content

get_comments

Function get_comments 

Source
pub fn get_comments(
    conn: &Connection,
    item_id: &str,
    limit: Option<u32>,
    offset: Option<u32>,
) -> Result<Vec<QueryComment>>
Expand description

Get all comments for an item, newest first.

ยงErrors

Returns an error if the query fails.