I worry a bit about the *unique* operator -- why isn't it documented?

On Wednesday, December 23, 2020 at 6:08:27 AM UTC-8 [email protected] 
wrote:

> @Erwan just for reference, you could also do:
>
> [tag[question]get[answer]unique[]]  
>
> On Wednesday, December 23, 2020 at 2:08:18 PM UTC+1 Erwan wrote:
>
>> Perfect! 
>> Thank you Eric :)
>>
>>
>> On Wednesday, December 23, 2020 at 12:36:01 PM UTC Eric Shulman wrote:
>>
>>> On Wednesday, December 23, 2020 at 4:16:11 AM UTC-8 Erwan wrote:
>>>
>>>> I'm trying to obtain a list of unique "answers" from a list of 
>>>> questions like this:
>>>> <$list filter="[tag[question]get[answer]]">
>>>>
>>>> </$list>
>>>>
>>> ...there can be several "question" tiddlers with the same answer...
>>>>
>>> I would like to obtain this list but without duplicates.
>>>>
>>>
>>> Use the "each:value[]" filter, like this: 
>>> <$list filter="[tag[question]get[answer]each:value[]]">
>>>
>>> </$list>
>>>
>>> see https://tiddlywiki.com/#each%20Operator for more info.
>>>
>>> enjoy,
>>> -e
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c55544fe-3927-4f8f-941d-01fbb32ab44en%40googlegroups.com.

Reply via email to