Skip to content

Jason-Abbott/swift-sqlite-jsonb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Swift Codable implementation of SQLite JSONB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages