Skip to main content

find_by_upstream_id

Function find_by_upstream_id 

Source
async fn find_by_upstream_id(
    conn: &mut PgConnection,
    query: &str,
) -> ChatbotResult<Vec<UserDetail>>
Expand description

Looks up one user by upstream_id, rejecting a query that is not an integer.