Scan queries (extension) in descending order

Hi,

is there any way to get the scan query results in a descending order?

I tried using the “descending”:true parameter in the json but it didn’t do anuthing.

Is it supported?

Thanks,

I don’t think so. In fact, the scan query doesn’t even really support ascending order. It does it ‘accidentally’ but unlike select, it isn’t trying very hard and results can appear out of order in some cases. I’d call it “pseudo-ascending”. You could try modifying the code to implement pseudo-descending order, which might be good enough for your case.