Re: Partitions list

2020-05-25 Thread ermouth
This is great, thanks! ermouth > 25 мая 2020 г., в 10:25, Glynn Bird написал(а): > > If you need a relatively small list of partition keys, (let's say you want > to allow a user to paginate through the partition keys in blocks of 10, > say) then it's probably more efficient to perform a sequen

Re: Partitions list

2020-05-25 Thread Glynn Bird
If you need a relatively small list of partition keys, (let's say you want to allow a user to paginate through the partition keys in blocks of 10, say) then it's probably more efficient to perform a sequence of calls to _all_docs, fetching the "first" document of each partition key like so: https: