kdb:获取非键控的列名称 table

kdb: get column names of non-keyed table

给定一个像 t:([]c1:`a`b;c2:10 20) 这样的非键控 table,cols t 是否总是等同于 key flip t

(在我正在处理的回购协议中看到几个 key flip t

是的,见下面cols的粗体部分

k){$[.Q.qpx:.Q.vx;.Q.pf,!+x;<strong>98h=@ x;!+x</strong>;11h=@!x;!x;!+0!x]}