Skip to main content

detect_suggestions

Function detect_suggestions 

Source
pub fn detect_suggestions(
    conn: &Connection,
    home_city_override: Option<&str>,
) -> Vec<DetectedSuggestion>
Expand description

Run the full suggestion detection pipeline: trips then events. Newly detected suggestions that don’t match existing fingerprints are persisted to the database.