Skip to main content

get_filter

Function get_filter 

Source
pub fn get_filter(
    conn: &Connection,
    user_id: i64,
    filter_id: i64,
) -> Result<Option<String>>
Expand description

Fetch user_id’s own filter_id’s definition — scoped to user_id so one account can never read another’s stored filter by guessing an id.