Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Sort Changes by the specified field other than the primary key

オープン
#259 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
database

調査の方向性

エントリーポイントの Table(dataSource, "table_name", arrayOf(Order.asc("created"))) から開始し、ドキュメントに記載された主キーによるソート動作と比較します。指定されたフィールドが変更に対してどのように処理されるかを追跡し、その後、変更が要求されたフィールドで並べ替えられることを確認して、この API に対するリポジトリの既存テストがある場所にテストカバレッジを追加します。

索引モデルが issue の本文から書いたものです。

説明

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")))...

主要言語
Java
スター
130
フォーク
21
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

assertj/assertj-db のほかの issue

assertj/assertj-db の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。