#sortKey on DirectAggregate

3 messages · Page 1 of 1 (latest)

crude cloak
#

sortKey on DirectAggregate

craggy kelpBOT
#

Hi @crude cloak. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

I’m sorry, but the knowledge sources don’t mention a sortKey option for DirectAggregate. DirectAggregate takes explicit key and id (and optional sumValue) when you insert/replace, and ordering is determined by the key you provide. There’s no documented separate sortKey parameter like in TableAggregate (where sortKey is derived from a table doc) (Aggregate without a table).

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: