Skip to content

add sqlite serialize/deserialize example#4167

Merged
abonander merged 1 commit intolaunchbadge:mainfrom
mattrighetti:example/sqlx-sqlite-serialize
Apr 8, 2026
Merged

add sqlite serialize/deserialize example#4167
abonander merged 1 commit intolaunchbadge:mainfrom
mattrighetti:example/sqlx-sqlite-serialize

Conversation

@mattrighetti
Copy link
Copy Markdown
Contributor

@mattrighetti mattrighetti commented Feb 18, 2026

Does your PR solve an issue?

No, it's just an example to show how the serialize and deserialize APIs can be used.

Is this a breaking change?

No.

@mattrighetti
Copy link
Copy Markdown
Contributor Author

Just updated the commit message to re-trigger CI

- Use SqliteOwnedBuf with serialize/deserialize to snapshot
  an in-memory database as raw bytes
- Embed the bytes in a custom container format (magic header + db)
- Round-trip: create → serialize → write → read → deserialize → query
@mattrighetti mattrighetti force-pushed the example/sqlx-sqlite-serialize branch from 7becb51 to c2ef783 Compare March 19, 2026 19:15
@abonander abonander merged commit dc12a3d into launchbadge:main Apr 8, 2026
146 checks passed
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.

2 participants