SQLAlchemy - “Dynamic Filter”

后端 未结 3 1758
被撕碎了的回忆
被撕碎了的回忆 2020-12-06 17:22

I have just started using SQLAlchemy. I decided to use it because I was using a lot of string expression in the middle of my sqlite queries.

So, that is my problem.

3条回答
  •  悲&欢浪女
    2020-12-06 17:54

    The function filter(*criterion) means you can use tuple as it's argument, @Wolph has detail here: SQLALchemy dynamic filter_by for detail

提交回复
热议问题