Sort Changes by the specified field other than the primary key
- 主要言語
- Java
- スター
- 130
- フォーク
- 21
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
According to documentation, changes sorted by primary key and if there are no primary key by the values of the row (for a modification).
My table has a primary key, but it doesn't fit because it has a type UUID. So the changes is sorted randomly.
Is there any function to set sorting on any other field? If not, can you add?
I tried like below code, it doesn't work:
`Table(dataSource, "table_name", arrayOf(Order.asc("created")))...`
コントリビューションガイド
調査の方向性
Start from the Table(dataSource, "table_name", arrayOf(Order.asc("created"))) entry point and compare it with the documented primary-key sorting behavior. Trace how the specified field is handled for modifications, then verify that changes are ordered by the requested field and add coverage where the repository's existing tests for this API reside.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- database
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100