Skip to content

Commit 33bb406

Browse files
committed
More README work
1 parent 74d6f38 commit 33bb406

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ let stmt = conn.prepare("UPDATE foo SET bar = $1 WHERE baz = $2");
104104
let updates = stmt.update([&1i32 as &ToSql, & &"biz" as &ToSql]);
105105
println!("{} rows were updated", updates);
106106
```
107-
`query` returns an iterator over the rows returned from the database. Fields of
108-
each row in the result can be accessed either by their indicies or their column
109-
names. Unlike statement parameters, result columns are zero-indexed.
107+
`query` returns an iterator over the rows returned from the database. The
108+
fields in a row can be accessed either by their indices or their column names.
109+
Unlike statement parameters, result columns are zero-indexed.
110110
```rust
111111
let stmt = conn.prepare("SELECT bar, baz FROM foo");
112112
for row in stmt.query([]) {

0 commit comments

Comments
 (0)