Perfect-SQLite
Perfect-SQLite copied to clipboard
A stand-alone Swift wrapper around the SQLite 3 client library.
123:RhinoAppActiveServer xiang$ swift build /Users/xiang/Desktop/server/RhinoAppActiveServer: error: manifest parse error(s): /Users/xiang/Desktop/server/RhinoAppActiveServer/Package.swift:12:10: error: type 'Package.Dependency' has no member 'Package' .Package(url: "https://github.com/PerfectlySoft/Perfect-SQLite.git", from: "3.0.0"), ^~~~~~~ 123:RhinoAppActiveServer xiang$
I have already written: `import PerfectCSQLite3`
Please consider marking closures in methods such as forEachRow non escaping (@noescape attribute). They aren't capturing the closure anyway, but if this attribute is absent, closure requires prefixing member references...
I think it will be more convenient if Blob will use [UInt8] too. In many situations data fetched from Blob columns will be passed to functions expecting (NS)Data.
In Perfect-SQLite lastInsertRowId is truncated to Int. In SQLite it's int64: sqlite3_int64 sqlite3_last_insert_rowid(sqlite3*);
In macOS 15, a built-in type called Expression was introduced, causing an ambiguous type error.