Skip to content

Commit

Permalink
Merge pull request #1161 from michaelhenry/fix/playground-example
Browse files Browse the repository at this point in the history
Fix playground example as the prepare func can throw an error
  • Loading branch information
jberkel authored Oct 18, 2022
2 parents e3dd8c8 + 00a8668 commit 2181f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SQLite.playground/Contents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,5 @@ db.createAggregation("customConcat",
initialValue: "users:",
reduce: reduce,
result: { $0 })
let result = db.prepare("SELECT customConcat(email) FROM users").scalar() as! String
let result = try db.prepare("SELECT customConcat(email) FROM users").scalar() as! String
print(result)

0 comments on commit 2181f48

Please sign in to comment.