postgres-nio
postgres-nio copied to clipboard
🐘 Non-blocking, event-driven Swift client for PostgreSQL.
We should provide a ConnectionPool out of the box.
Document how to conform your own type to `PostgresEncodable` and `PostgresDecodable`. 1. As an example we can use a custom `MyPoint` type that shall be transformed to the Postgres type....
The new connect syntax calls one of the following swift-nio connect functions: `func connect(host: String, port: Int) -> EventLoopFuture` `func connect(to address: SocketAddress) -> EventLoopFuture` it dosen't call the third:...
Add performant method for checking if a `PostgresRow` contains a given column.
`PostgresData` currently offers "fuzzy" conversion to Swift types via its initializer and properties. For example: ```swift let data: PostgresData = ... print(data.string) // String? ``` The `string` property checks to...
I've been using this package and I keep running into a confusing situation. All your examples use the async API in a sync way, by calling `wait`. Eg, let db...
Added support for parsing PostgreSQL date, timestamp, and timestamptz text strings into Swift Date. I added a separate test of text dates rather than adding to the existing date test....
Fix #186 Fix `reverseChunked` to comply with `maxSize`.