How to use or operator for flask-sqlalchemy

后端 未结 0 905
闹比i
闹比i 2021-01-18 05:48

In Flask-sqlalchemy I think i can only use the "and" operator(aka: comma) to filter object so something like this:

posts = Post.query.filter_by(area         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题