Home › Forums › kdb+ › Key value pairs in dictionary, and how to retrieve them given one? › Re: Key value pairs in dictionary, and how to retrieve them given one?
-
q)d:`a`b`c!1 2 3 q)d[`a] 1 q)d?1 `a q)d:`a`b`c`d!1 2 3 1 q)d?1 `a
be mindful, with this method and duplicate values, only the first key is returned