Eve SQLAlchemy 查询连接

Eve SQLAlchemy query catenation

我可以 http://127.0.0.1:5000/people?where={"lastname":"like(\"Smi%\")"} 得到 people.lastname LIKE "Smi%"

如何连接两个条件,例如 where city=XX 和 pop<1000?

你做的很简单:

http://127.0.0.1:5000/people?where={"city":"XX", "pop":"<1000"}