Skip to content
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
Fix demonstration of how to trace SQL statements in docs
The old way shown causes a build error in swift 3 (XCode8):

  Ambiguous reference to member 'print(_:separator:terminator:)'
  • Loading branch information
eoinkelly committed Jun 16, 2017
commit f24bc5db861c61f1d9a808ee24f4755852651ac1
2 changes: 1 addition & 1 deletion Documentation/Index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ We can log SQL using the database’s `trace` function.

``` swift
#if DEBUG
db.trace(print)
db.trace { print($0) }
#endif
```

Expand Down