Skip to content

Commit a74e119

Browse files
committed
Merge pull request brianmario#492 from simi/patch-1
README.md update
2 parents 7142a01 + 62c8c68 commit a74e119

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ It also forces the use of UTF-8 [or binary] for the connection [and all strings
1010

1111
The API consists of two classes:
1212

13-
Mysql2::Client - your connection to the database
13+
`Mysql2::Client` - your connection to the database
1414

15-
Mysql2::Result - returned from issuing a #query on the connection. It includes Enumerable.
15+
`Mysql2::Result` - returned from issuing a #query on the connection. It includes Enumerable.
1616

1717
## Installing
1818
### OSX / Linux
@@ -439,7 +439,7 @@ For example, if you were to yield 4 rows from a 100 row dataset, only 4 hashes w
439439
Now say you were to iterate over that same collection again, this time yielding 15 rows - the 4 previous rows that had already been turned into ruby hashes would be pulled from an internal cache, then 11 more would be created and stored in that cache.
440440
Once the entire dataset has been converted into ruby objects, Mysql2::Result will free the Mysql C result object as it's no longer needed.
441441

442-
This caching behavior can be disabled by setting the :cache_rows option to false.
442+
This caching behavior can be disabled by setting the `:cache_rows` option to false.
443443

444444
As for field values themselves, I'm workin on it - but expect that soon.
445445

0 commit comments

Comments
 (0)