mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-04 00:44:19 +01:00
Hi all, I attempted to implement the `order by desc`, which mainly consists of the following two parts: 1. for cases where the primary key can be utilized, I implemented `push_scan_direction` to push the scan direction down to the `Scan`. 2. for cases where the primary key cannot be utilized, I re-implemented the sorting in `Sorter::rewind` based on whether it's desc or asc. there is also some related work to be done, such as sort using secondary index, I will attempt to do next. Please help review this and let me know how I can improve it, thanks in advance Reviewed-by: Pere Diaz Bou <pere-altea@hotmail.com> Closes #376