0
在下面的例子中,可查詢#q會被第二次評估嗎?什麼時候查詢表達式被調用?
local(max = 10, m = 5)
local(q = with n in 1 to 10 select #n+#m)
#q // 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
if(true) => {
#q // is it invoke here like the above?
}
我懷疑沒有,但如果是這樣的話,它是調用查詢的#q-> asString?