清单5显示了生成对包装方法的调用并保存结果(如果有的话)的代码。
Listing 5 shows the code to generate the call to the wrapped method and save the result (if any).
这个示例指示板需要数据才能完成特定的功能,所以接受了使用doc()函数由data.xq生成的聚合数据,并将结果保存在 $data变量内
The example dashboard needs data to do anything, so it brings in aggregated data generated by data.xq using the doc() function, saving the results into a $data variable
第一节中介绍的技术只适用于生成最终结果的所有信息都可保存为中间结果的情况。
The technique presented in the first section only works if all the information necessary to derive the final result can be stored in the intermediate result.
第一节中介绍的技术只适用于生成最终结果的所有信息都可保存为中间结果的情况。
The technique presented in the first section only works if all the information necessary to derive the final result can be stored in the intermediate result.
应用推荐