Swiftpack.co - vapor/sqlite-nio as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by vapor.
vapor/sqlite-nio 1.1.0
Non-blocking wrapper for libsqlite3-dev using SwiftNIO
⭐️ 30
🕓 3 days ago
iOS macOS
.package(url: "https://github.com/vapor/sqlite-nio.git", from: "1.1.0")

SQLiteNIO

Documentation Team Chat MIT License Continuous Integration Swift 5.2

GitHub

link
Stars: 30
Last commit: 3 days ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Improve SQLite Boolean decoding
1 year ago
This patch was authored by @wibed and released by @tanner0101.

Allows for a boolean field to be stored as string.

.field("is_true", .string, .required)

Additionally it is now its separate type, together with the other types, instead of referring to an anonymous int for a return, which makes It cleaner.

Before: If the field type of a presumed boolean is set to string. it results in below error msg

typeMismatch(Swift.Bool, Swift.DecodingError.Context(codingPath: [], debugDescription: "Could not initialize Bool from \"0\".", underlyingError: nil))

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics