Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我想在执行潜在的慢查询(例如具有长日期范围的多个区域)之前先快速了解查询的长度,那么索引的另一种选择是什么?
索引查询、查询子查询计数、压缩查询方法
crs.execute(query) #from fdb cursor if crs.fetchone() is None: #notify user there is no results else: #do stuff
如果没有立即/更快的查询结果,我想快速通知用户。