I Have a MySQL query that is being generated by a PHP script, the query will look something like this:
SELECT * FROM Recipe_Data WHERE 404_Without_200 = 0 A
For someone like me using SQlAlchemy, using for-loop is also a good option:
rows=[] for id in ids: row = cls.query.filter(cls.id==id).first() if row: rows.append(row) #return rows