couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Cottlehuber <>
Subject Re: CouchDB: Return Results in Random Order
Date Tue, 22 Oct 2013 13:22:51 GMT
On 22. Oktober 2013 at 14:29:16, Hank Knight ( wrote:
>This returns 10 results:
>Is there a way for the results to be returned in random order?

As Bob says, no, but you can fake it. see
basically you either do it at view build time, and rebuild periodically, or do it at query
time by abusing
limits and skips.

Dave Cottlehuber
Sent with Airmail

View raw message