且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

运行查询只有一次

更新时间:2021-08-12 21:48:38

是的,缓存结果。它存储到一个变量(一个的集合的像列表),然后用它来显示结果,而不是的重新评估的查询。

Yes, cache the result. Store it into a variable (a collection like List) then use it to display result instead of re-evaluating the query.