from sqlalchemy import case user_ids = [11, 22, 33, 44] indexes = [i for i in range(len(user_ids))] whens = dict(zip(user_ids, indexes)) ...
確定! 回上一頁