From a46b7da286fd582184d86f61130977b5779770d2 Mon Sep 17 00:00:00 2001 From: DominicGBauer Date: Tue, 4 Feb 2025 09:02:24 +0200 Subject: [PATCH] chore: update swift transaction example --- client-sdk-references/swift.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client-sdk-references/swift.mdx b/client-sdk-references/swift.mdx index c27d9a70..a980a2b1 100644 --- a/client-sdk-references/swift.mdx +++ b/client-sdk-references/swift.mdx @@ -6,7 +6,7 @@ sidebarTitle: "Overview" Refer to the powersync-swift repo on GitHub. - + A full API Reference for this SDK is not yet available. This is planned for the V1 release. @@ -326,7 +326,7 @@ func updateTodo(_ todo: Todo) async throws { func deleteTodo(id: String) async throws { try await db.writeTransaction(callback: { transaction in - _ = try await transaction.execute( + _ = transaction.execute( sql: "DELETE FROM \(TODOS_TABLE) WHERE id = ?", parameters: [id] )