1
3
当q解释x时,它将把它当作一个字符串,它没有对列的引用,因此您的输出将只是计数“header”。 如果要将列作为字符串传入,则需要生成整个select语句,然后使用 value
但是,建议的方法是使用 functional select . 下面我用 parse 要使用解析树构建函数select equivalent。
请注意,必须将列作为符号传入。另外,:i只是k等价于i计数。 更新多个列
|
2
0
要获取select语句的函数形式,我建议使用
buildSelect
. 此外,缩小括号的范围,即使用
|
amandath · 函数更新-带动态列的多变量函数 6 年前 |
marrowgari · Kdb数据库到PyQ中的NumPy数组 6 年前 |
chrise · 函数的KDB命名空间 6 年前 |
Fomalhaut -C · 在输入列表上迭代函数(Q/KDB) 6 年前 |
DJ180 · 按enter键将导致KDB后台进程停止 6 年前 |
user8415577 · 返回kdb中的表列表 6 年前 |
marrowgari · PyQ:q.upsert到八字桌 6 年前 |