Skip to content

Commit e5eea6b

Browse files
authored
Merge pull request #669 from eoinkelly/fix-trace-in-docs
Fix demonstration of how to trace SQL statements in docs
2 parents 92db670 + f24bc5d commit e5eea6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/Index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1578,7 +1578,7 @@ We can log SQL using the database’s `trace` function.
15781578
15791579
``` swift
15801580
#if DEBUG
1581-
db.trace(print)
1581+
db.trace { print($0) }
15821582
#endif
15831583
```
15841584

0 commit comments

Comments
 (0)