Fork me on GitHub
#specter
<
2020-04-07
>
Busy escaping the comfort zone14:04:26

Hi Specter team I'm looking for a way to collect values in a multi-path:

(select [MAP-VALS ATOM (multi-path MAP-KEYS [MAP-VALS MAP-VALS :ttl])] results)      
I'm getting back:
["4fcb9fdd4ef847aa9b0a906e3effcf3b"                                                                             
 1586267405166
 1586267416251
 "31a915847bff41a788c1c34521ffe7a9"
 1586265826511
 "5a6c3fc3a587437baf497f9c80c858ca"
 1586266864089
 1586266891300]
And id like to group the [MAP-VALS MAP-VALS :ttl] into a vector:
["4fcb9fdd4ef847aa9b0a906e3effcf3b"                                                                             
 [1586267405166 1586267416251]
 "31a915847bff41a788c1c34521ffe7a9"
 [1586265826511]
 "5a6c3fc3a587437baf497f9c80c858ca"
 [1586266864089 1586266891300]]
This is probably simple but using collect/VAL etc didn't work, what am I missing? 🙂

nathanmarz19:04:18

@narkisr you can use subselect