Skip to content

Commit

Permalink
Merge pull request #8 from svetha-cvl/master
Browse files Browse the repository at this point in the history
Minor documentation fix
  • Loading branch information
ders authored Nov 28, 2019
2 parents b94ebc9 + 193adf1 commit c0f50d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ tx.MustExec(query, append(values, wantID)...)

It is entirely possible to construct all of these queries by hand, and you're all welcome to do so. Using the query generators, however, ensures that the fields match correctly, something that is particularly useful with a large number of columns.

## Point point #5: Iterating over result sets is clumsy.
## Pain point #5: Iterating over result sets is clumsy.

**go-sx** provides an iterator called `Each` which runs a callback function on each row of a result set. Using the iterator simplifies this code:

Expand Down Expand Up @@ -214,7 +214,7 @@ tx.MustQuery(query).Each(func (r *sx.Rows) {

## Contributing

Contributions are welcomed! Read the [Contributing Guide](CONTRIBUTING.md) for more information.
Contributions are welcome! Read the [Contributing Guide](CONTRIBUTING.md) for more information.

## Licensing

Expand Down

0 comments on commit c0f50d8

Please sign in to comment.