任何函数的返回值都是子句(在我们的示例中只有一行)中最后一个表达式的结果。
The return value of any function is the result of the last expression in that clause (in our examples there is only one line).
在更新1和其他许多典型场景中,return子句仅仅返回包含修改后的文档的变量。
In Update 1, and many other typical use cases, the return clause simply returns the variable that holds the modified document.
最后,return子句返回代表预定终止日期的新节点,所以DB 2将用修改后的数据更新document列中的数据。
Finally, the return clause returns the new node representing the scheduled termination date so that DB2 will update data in the DOCUMENT column with the modified data.
应用推荐