2020.04.27 02:02 PM
myfirstrun:raze {[x]
L: select from ....
if count[L] <= 20
continue
end
} peach vals;
2020.04.28 04:03 AM
2020.04.28 05:19 AM
myfirstrun:raze {[x]
L: select from ....
if[count[L] <= 20; :()]; // end early returning an empty list
// do whatever you intended to do with L
} peach vals;
2020.04.28 08:40 AM
2020.04.28 08:05 AM
@[vals;i;:;] f peach vals i:where {20<count select from ...} peach vals
@[vals;where {20<count select from ...} each vals;f]
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.