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 a result iterator. Fields of each row in the result can be
108- accessed either by their indicies or their column names. Unlike statement
109- parameters, result columns are zero-indexed.
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.
110110``` rust
111111let stmt = conn . prepare (" SELECT bar, baz FROM foo" );
112112for row in stmt . query ([]) {
@@ -261,6 +261,6 @@ traits.
261261
262262Development
263263===========
264- Rust-Postgres is still in the early stages of development, so don't be
265- surprised if APIs change and things break. If something's not working properly,
266- file an issue or submit a pull request!
264+ Like Rust itself, Rust -Postgres is still in the early stages of development, so
265+ don't be surprised if APIs change and things break. If something's not working
266+ properly, file an issue or submit a pull request!
You can’t perform that action at this time.
0 commit comments