Skip to content

Commit 24a6809

Browse files
authored
Update README.md
1 parent 5d817be commit 24a6809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ await withTaskGroup(of: Void.self) { taskGroup in
107107
Once a client is running, queries can be sent to the server. This is straightforward:
108108

109109
```swift
110-
let rows = try await client.query("SELECT id, username, birthday FROM users")
110+
let rows = try await client.query("SELECT id, username, birthday FROM users", logger: Logger(label: "my-example-logger"))
111111
```
112112

113113
The query will return a [`PostgresRowSequence`], which is an AsyncSequence of [`PostgresRow`]s.

0 commit comments

Comments
 (0)