File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,9 +104,9 @@ let stmt = conn.prepare("UPDATE foo SET bar = $1 WHERE baz = $2");
104104let updates = stmt . update ([& 1i32 as & ToSql , & & " biz" as & ToSql ]);
105105println! (" {} 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
111111let stmt = conn . prepare (" SELECT bar, baz FROM foo" );
112112for row in stmt . query ([]) {
You can’t perform that action at this time.
0 commit comments