def METHOD_NAME(client, event_id):
    cursor = client.cursor(dictionary=True)
    cursor.execute(
        'SELECT * FROM flow_event_dump WHERE flow_event_id=%s '
        'ORDER BY id', params=(event_id,))
    return cursor.fetchall()