所以说:COLLECT diff = q.field INTO fielded有没有办法限制fielded的长度?我知道有SLICE()函数,但也许有一个性能优化LIMIT?据我所知,收集后限制将限制差异(组),而不是组内容。
COLLECT diff = q.field INTO fielded
fielded
SLICE()
LIMIT
zqry0prt1#
COLLECT diff = q.field INTO fielded LET rest = (FOR qx IN fielded[*] LIMIT 4 return qx)
我不知道这是否会导致性能优化。
1条答案
按热度按时间zqry0prt1#
我不知道这是否会导致性能优化。