sqlite: support custom collations via sqlite3_create_collation_v2
オープン
まだ誰も着手していません。
feature request
sqlite
- 主要言語
- JavaScript
- スター
- 122k
- フォーク
- 37.3k
- 平均マージ
- 4日 2時間
- マージ済み PR(30日)
- 283
説明
What is the problem this feature will solve?
This affects the ORDER BY clause. Without this feature the word Ágætis gets put after the word Zebra. I'm building a music DB and this issue comes up a lot.
What is the feature you are proposing to solve the problem?
Expose sqlite's sqlite3_create_collation_v2 API in NodeJs.
What alternatives have you considered?
This sorting can be done in code, but it is much slower than having the feature available
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
SQLite の sqlite3_create_collation_v2 API と Node.js の既存の SQLite API エントリポイントから始め、データベース機能がどのように公開されているかを追跡します。Node.js でカスタム collations を登録し、それらを使用して Ágætis や Zebra などの名前に対する意図した ORDER BY 結果を生成できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, node.js, sqlite
- 領域
- backend-api-design, databases
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100