We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2100985 commit 10d5e85Copy full SHA for 10d5e85
Documentation/Index.md
@@ -1854,8 +1854,8 @@ using the following functions.
1854
```swift
1855
let stmt = try db.prepare("SELECT id, email FROM users")
1856
for row in stmt {
1857
- for (index, name) in stmt.columnNames.enumerate() {
1858
- print ("\(name)=\(row[index]!)")
+ for (index, name) in stmt.columnNames.enumerated() {
+ print ("\(name):\(row[index]!)")
1859
// id: Optional(1), email: Optional("alice@mac.com")
1860
}
1861
0 commit comments