We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 689c602 commit e953f0cCopy full SHA for e953f0c
README.md
@@ -104,7 +104,10 @@ results.each do |row|
104
# conveniently, row is a hash
105
# the keys are the fields, as you'd expect
106
# the values are pre-built ruby primitives mapped from their corresponding field types in MySQL
107
- # Here's an otter: http://farm1.static.flickr.com/130/398077070_b8795d0ef3_b.jpg
+ puts row["id"] # row["id"].class == Fixnum
108
+ if row["dne"] # non-existant hash entry is nil
109
+ puts row["dne"]
110
+ end
111
end
112
```
113
0 commit comments