Skip to content

feat(db,index): add indexed order_by support with stable paging tokens#37

Merged
Adphi merged 1 commit intomainfrom
sort-order-by
Mar 11, 2026
Merged

feat(db,index): add indexed order_by support with stable paging tokens#37
Adphi merged 1 commit intomainfrom
sort-order-by

Conversation

@Adphi
Copy link
Member

@Adphi Adphi commented Mar 11, 2026

  • Add singular order_by to GetRequest and expose WithOrderBy* client options.
  • Execute ordered reads via index-first path with scan+sort fallback, plus tracing and ordered benchmarks.
  • Bind continuation tokens to ordering via order_hash validation to prevent token/query-shape mismatch.

* Add singular order_by to GetRequest and expose WithOrderBy* client options.
* Execute ordered reads via index-first path with scan+sort fallback, plus tracing and ordered benchmarks.
* Bind continuation tokens to ordering via order_hash validation to prevent token/query-shape mismatch.

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
@Adphi Adphi merged commit 56168d4 into main Mar 11, 2026
16 checks passed
@Adphi Adphi deleted the sort-order-by branch March 11, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant