graphile / graphile/graphile.github.io
Add a note about 'NOT NULL' JSONB 'null'
オープン
- 主要言語
- SCSS
- スター
- 27
- フォーク
- 126
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
```
create table a (
b jsonb not null default 'null'
);
```
We expose this as "non-nullable", but it's possible to store a JSON 'null' (rather than an SQL null) in the column. PostGraphile doesn't differentiate these, and trusts you'll do the right thing. Otherwise _all_ JSON/JSONB columns would have to be nullable, and that'd not be a pleasant experience.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、JSON/JSONB の nullability がどのように公開されるかを説明している PostGraphile ドキュメントのセクションを見つけます。issue の SQL 例を参照し、nullable ではない JSONB カラムが SQL NULL とは異なる JSON null を依然として含められることをドキュメントに記載できたら、作業完了とします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- postgresql, sql
- 領域
- databases, documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100