Swiftpack.co -  Package - vapor/sqlite-nio
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Non-blocking wrapper for libsqlite3-dev using SwiftNIO
.package(url: "https://github.com/vapor/sqlite-nio.git", from: "1.1.0")


Documentation Team Chat MIT License Continuous Integration Swift 5.2


Stars: 25
Last commit: 5 weeks ago

Release Notes

Improve SQLite Boolean decoding
29 weeks 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