gorm-cursor-paginator icon indicating copy to clipboard operation
gorm-cursor-paginator copied to clipboard

feat: Add optimization feature for composite cursors

Open tadeboro opened this issue 3 months ago • 1 comments

Current implementation of pagination on composite cursors is rather inefficient on large tables even in the presence of index. Changes in this commit add an optimization option that causes paginator to emit a bit different WHERE condition that query engines have an easier time optimizing.

We kept changes backward-compatible. We need to opt-in to get the new feature enabled.

tadeboro avatar May 22 '24 11:05 tadeboro