Skip to content

chore: update swift transaction example #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client-sdk-references/swift.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebarTitle: "Overview"
<CardGroup cols={3}>
<Card title="Source Code" icon="github" href="https://github.com/powersync-ja/powersync-swift/">
Refer to the powersync-swift repo on GitHub.
</Card>
</Card>
<Card title="API Reference (Coming soon)" icon="book" href="">
A full API Reference for this SDK is not yet available. This is planned for the V1 release.
</Card>
Expand Down Expand Up @@ -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]
)
Expand Down