async def ladders(database, platform_id):
    """Get ladders for a platform."""
    query = "select id as value, name as label from ladders where platform_id=:platform_id"
    return list(map(dict, await database.fetch_all(query, values={'platform_id': platform_id})))