Skip to content

refactor: encode query results with AnyJSON - #467

Open
chrispader wants to merge 1 commit into
nitro-v1/prefix-namesfrom
nitro-v1/any-json
Open

chrispader wants to merge 1 commit into
nitro-v1/prefix-namesfrom
nitro-v1/any-json

Conversation

@chrispader

@chrispader chrispader commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Query results currently create each row and cell through separate JSI conversions. This PR encodes rows while SQLite reads them and uses Nitro AnyJSON to create the JavaScript results. BLOBs, non-finite numbers, and malformed UTF-8 keep native conversion so their existing value types are preserved.

@chrispader
chrispader added this pull request to stack #466 October 26, 2026 10:27
@vercel

vercel Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
react-native-nitro-sqlite Ready Ready Preview Nov 13, 2026 10:05am UTC

Request Review

Encode rows during SQLite reads and preserve native values where JSON cannot represent them.

Co-authored-by: Codex <noreply@openai.com>

This branch was successfully deployed

1 active deployment
Preview — 22d1bc01 Deployed Nov 13, 2026 by vercel[bot]
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.

1 participant