标签: python sqlalchemy eve
我可以http://127.0.0.1:5000/people?where={"lastname":"like(\"Smi%\")"}获取people.lastname LIKE "Smi%"
http://127.0.0.1:5000/people?where={"lastname":"like(\"Smi%\")"}
people.lastname LIKE "Smi%"
如何连接两个条件,例如city = XX和pop< 1000?
答案 0 :(得分:2)
你做的很简单:
http://127.0.0.1:5000/people?where={"city":"XX", "pop":"<1000"}