请问不存在的id查询为什么不raise exception而是有结果?这样不是null的结果该如何判断是否查询成功?谢谢
示例:
Test = leancloud.Object.extend('Test')
result = Test.query.get('123')
print('result = ', result, ', id = ', result.id, ', time = ', result.created_at)
输出:
[2021-04-05T04:17:09.913962000Z][instance:web1] result = <leancloud.object_.CGUser object at 0x7f4cfbb42510> , id = 123 , time = None