Skip to content

Conversation

@andymatuschak
Copy link
Contributor

I've added support for BLOB-type SQLite columns, which map to ArrayBuffers in JavaScript.

You can see this support in action with the new user avatars I've added to the example app. (Obviously, using BLOBs in the way demonstrated there is inefficient—but convenient for example purposes)

This implementation can write to BLOB columns from ArrayBuffers with zero copies, but unfortunately requires a copy to read; see facebook/hermes#564 for the JSI support which would be necessary to avoid that.

Closes #11.

@ospfranco ospfranco merged commit 6710656 into ospfranco:main Oct 15, 2021
@ospfranco
Copy link
Owner

Nice thanks a lot for the PR!

@ospfranco
Copy link
Owner

Released under 1.0.5

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.

Feature request: support BLOBs?

2 participants