阅读背景:

检查.one()是否为空sqlAlchemy

来源:互联网 

I am running a query based off of other ids for the query. The problem i have is that sometimes the query won't find a result. Instead of having the entire program crash, how can I check to see if the result will be None?I am running a query based off of other ids for




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: