postgres-nio icon indicating copy to clipboard operation
postgres-nio copied to clipboard

🐘 Non-blocking, event-driven Swift client for PostgreSQL.

Results 89 postgres-nio issues
Sort by recently updated
recently updated
newest added

We should provide a ConnectionPool out of the box.

enhancement
ConnectionPool

For fast bulk inserts we should support COPY IN mode.

enhancement

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....

enhancement

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:...

bug

Add performant method for checking if a `PostgresRow` contains a given column.

enhancement

`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...

enhancement

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....

enhancement

Fix #186 Fix `reverseChunked` to comply with `maxSize`.