Jason-Abbott/swift-sqlite-jsonb

Swift Codable implementation of SQLite JSONB

★ 7Forks 2SwiftGitHub ↗Compare

README

Swift Codable Implementation of SQLite JSONB

Caution

This is a very quick extraction of code developed for a specific purpose in a larger project. It is only tested for that narrow use case and has a high potential for data loss. It also carries cruft from that larger project.

Credits

This was developed for use with GRDB, which I highly recommend. GRDB is not a requirement, though, so I've commented-out the integration but left the file here: JSONBConvertible.

Also excluded, for similar reason, are proper tests that round-tripped encoded JSONB through an actual SQLite instance to ensure compatibility. Some of those tests are still here but commented-out.

Contributors

Jason-Abbott

Issues