Skip to content

Commit 74a6d60

Browse files
authored
Merge pull request stephencelis#818 from mamuleanu/master
Fixed one of Executing Arbitrary SQL examples
2 parents 2100985 + 10d5e85 commit 74a6d60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/Index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,8 +1854,8 @@ using the following functions.
18541854
```swift
18551855
let stmt = try db.prepare("SELECT id, email FROM users")
18561856
for row in stmt {
1857-
for (index, name) in stmt.columnNames.enumerate() {
1858-
print ("\(name)=\(row[index]!)")
1857+
for (index, name) in stmt.columnNames.enumerated() {
1858+
print ("\(name):\(row[index]!)")
18591859
// id: Optional(1), email: Optional("[email protected]")
18601860
}
18611861
}

0 commit comments

Comments
 (0)