How do I know if the results of my query either using the Query interface or the GqlQuery interface returned zero results? Would using .get() on zero results produce an error? If yes, what’s the best way to handle it?
How do I know if the results of my query either using the Query
Share
when doing a get() if there are no results you will have an object containing None
I normally do
or if you want to check that its not none then