Good lightweight SQLite library is available for Swift developers. Library allows matching Swift structs to database records.
Using code generation application might skip all dependencies on any framework and limit technical debt.
Lighter is a set of technologies applying code generation to access SQLite3 databases from Swift, e.g. in iOS applications or on the server. Like SwiftGen but for SQLite3.
Lighter builds upon the database schema and hence directly knows what it looks like at compile time. For common operations no mapping is necessary at all, the generated code runs as fast (usually faster) than hand written code. It directly binds Swift structures to the SQLite API.Helge Heß