Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sqlalchemy core in clause

session.execute(
    select(
        [MyUserTable.c.id, MyUserTable.c.name], 
        MyUserTable.c.id.in_((123, 456))
    )
).fetchall()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sqlalchemy #core #clause
ADD COMMENT
Topic
Name
9+2 =