📜  sqlalchemy core in 子句 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:30.598000             🧑  作者: Mango

代码示例2
session.execute(
    select(
        [MyUserTable.c.id, MyUserTable.c.name], 
        MyUserTable.c.id.in_((123, 456))
    )
).fetchall()