Skip to content

docs: specify null comparison contract - #37

Merged
cmartineztech merged 4 commits into
cmartineztech:devfrom
Vamsi-2581:codex/null-filtering-contract-35
Nov 1, 2026
Merged

cmartineztech merged 4 commits into
cmartineztech:devfrom
Vamsi-2581:codex/null-filtering-contract-35

Conversation

@Vamsi-2581

Copy link
Copy Markdown
Contributor

Closes #35

Document the existing SQLite JSON1 null behavior across the README, full documentation, and technical specification:

  • where("field", "=", $null) matches both an explicit JSON null and a missing field.
  • where("field", "!=", $null) matches only present, non-null values.
  • whereType("field", "null") matches only explicit JSON nulls.

Extended the type-filtering acceptance case with three documents and assertions for scalar and deep dot-path comparisons. The runtime implementation is unchanged.

Validation: reviewed the four-file compare diff. The PowerShell test runner was not run because this environment is not Windows.

AI assistance: prepared with OpenAI Codex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs & Tests] Formalize contract and add tests for null and missing field filtering in where()

2 participants