You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-38
Original file line number
Diff line number
Diff line change
@@ -28,29 +28,31 @@
28
28
Features:
29
29
30
30
- A [`PostgresConnection`] which allows you to connect to, authorize with, query, and retrieve results from a PostgreSQL server
31
+
- A [`PostgresClient`] which pools and manages connections
31
32
- An async/await interface that supports backpressure
32
33
- Automatic conversions between Swift primitive types and the Postgres wire format
33
-
- Integrated with the Swift server ecosystem, including use of [SwiftLog].
34
+
- Integrated with the Swift server ecosystem, including use of [SwiftLog] and [ServiceLifecycle].
34
35
- Designed to run efficiently on all supported platforms (tested extensively on Linux and Darwin systems)
35
36
- Support for `Network.framework` when available (e.g. on Apple platforms)
36
37
- Supports running on Unix Domain Sockets
37
38
38
-
PostgresNIO does not provide a `ConnectionPool` as of today, but this is a [feature high on our list](https://github.com/vapor/postgres-nio/issues/256). If you need a `ConnectionPool` today, please have a look at Vapor's [PostgresKit].
39
-
40
39
## API Docs
41
40
42
41
Check out the [PostgresNIO API docs][Documentation] for a
43
42
detailed look at all of the classes, structs, protocols, and more.
44
43
45
44
## Getting started
46
45
46
+
Interested in an example? We prepared a simple [Birthday example](/vapor/postgres-nio/tree/main/Snippets/Birthdays.swift)
47
+
in the Snippets folder.
48
+
47
49
#### Adding the dependency
48
50
49
51
Add `PostgresNIO` as dependency to your `Package.swift`:
0 commit comments