How to get rows which match a list of 3-tuples conditions with SQLAlchemy

前端 未结 3 1198
迷失自我
迷失自我 2020-12-03 11:27

Having a list of 3-tuples :

[(a, b, c), (d, e, f)]

I want to retrieve all the rows from a table where 3 columns matches the tuples. FOr thi

3条回答
  •  执笔经年
    2020-12-03 11:41

    Would anyone consider creating an extra key in the original table ? i.e. create a new column with "1"-"2"-"3" instead of another table and check for the uniqueness.

提交回复
热议问题