From 4068d547ff946a89ce07047ff0f404c1a9d980bd Mon Sep 17 00:00:00 2001 From: Andrew Barba Date: Sat, 26 Nov 2022 16:58:21 -0500 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index def5f58..b88ce77 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Planetscale -A description of this package. +A [Planetscale](https://planetscale.com) library compatible with Swift Cloud and Fastly Compute@Edge From e24b127c4bec53e51403fc8eecd223d6352afdb9 Mon Sep 17 00:00:00 2001 From: Andrew Barba Date: Sat, 26 Nov 2022 17:00:00 -0500 Subject: [PATCH 2/2] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index b88ce77..e3af4dd 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # Planetscale A [Planetscale](https://planetscale.com) library compatible with Swift Cloud and Fastly Compute@Edge + +## Usage + +```swift +let client = PlanetscaleClient(username: "...", password: "...") + +let rows = try await client.execute("select * from customers limit 10").json() +```